d65011a9c95872c2037db001ddd8b14fe3a6117d
[Packages/TYPO3.CMS.git] / typo3 / sysext / dbal / mod1 / index.php
1 <?php
2 /***************************************************************
3 * Copyright notice
4 *
5 * (c) 2004-2009 Kasper Skårhøj (kasperYYYY@typo3.com)
6 * (c) 2004-2009 Karsten Dambekalns (karsten@typo3.org)
7 * All rights reserved
8 *
9 * This script is part of the TYPO3 project. The TYPO3 project is
10 * free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2 of the License, or
13 * (at your option) any later version.
14 *
15 * The GNU General Public License can be found at
16 * http://www.gnu.org/copyleft/gpl.html.
17 *
18 * This script is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU General Public License for more details.
22 *
23 * This copyright notice MUST APPEAR in all copies of the script!
24 ***************************************************************/
25 /**
26 * Module 'DBAL Debug' for the 'dbal' extension.
27 *
28 * @author Kasper Skårhøj <kasperYYYY@typo3.com>
29 * @author Karsten Dambekalns <karsten@typo3.org>
30 */
31 $LANG->includeLLFile('EXT:dbal/mod1/locallang.xml');
32 $BE_USER->modAccess($MCONF, 1);
33 /*
34 * @deprecated since 6.0, the classname tx_dbal_module1 and this file is obsolete
35 * and will be removed by 7.0. The class was renamed and is now located at:
36 * typo3/sysext/dbal/Classes/Controller/ModuleController.php
37 */
38 require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('dbal') . 'Classes/Controller/ModuleController.php';
39 // Make instance:
40 $SOBE = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Dbal\\Controller\\ModuleController');
41 $SOBE->init();
42 $SOBE->main();
43 $SOBE->printContent();
44 ?>