[TASK] Add composer.json files for each sysext extension
[Packages/TYPO3.CMS.git] / typo3 / sysext / adodb / checkconnectionwizard.php
1 <?php
2 /***************************************************************
3 * Copyright notice
4 *
5 * (c) 2004-2013 Robert Lemke (robert@typo3.org)
6 * All rights reserved
7 *
8 * This script is part of the TYPO3 project. The TYPO3 project is
9 * free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
13 *
14 * The GNU General Public License can be found at
15 * http://www.gnu.org/copyleft/gpl.html.
16 *
17 * This script is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
21 *
22 * This copyright notice MUST APPEAR in all copies of the script!
23 ***************************************************************/
24 /**
25 * Check connection wizard for ADO DB databases. For usage in a popup window.
26 *
27 * @author Robert Lemke <robert@typo3.org>
28 */
29 // Build TYPO3 enviroment:
30 $BACK_PATH = '../../../typo3/';
31 define('TYPO3_MOD_PATH', 'sysext/adodb/');
32 require $BACK_PATH . 'init.php';
33 // Include ADODB library:
34 require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('adodb') . 'adodb/adodb.inc.php';
35 // Include language labels:
36 $LANG->includeLLFile('EXT:adodb/locallang_wizard.xlf');
37 /*
38 * @deprecated since 6.0, the classname tx_adodb_checkconnectionwizard and this file is obsolete
39 * and will be removed with 6.2. The class was renamed and is now located at:
40 * typo3/sysext/adodb/Classes/View/CheckConnectionWizardView.php
41 */
42 require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('adodb') . 'Classes/View/CheckConnectionWizardView.php';
43 // Make instance:
44 $SOBE = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Adodb\\View\\CheckConnectionWizardView');
45 $SOBE->main();