[+FEATURE] Backport CommandController Implementation
[Packages/TYPO3.CMS.git] / typo3 / sysext / extbase / Scripts / CommandLineLauncher.php
1 <?php
2 /***************************************************************
3 * Copyright notice
4 *
5 * (c) 2011 Dennis Ahrens <dennis.ahrens@fh-hannover.de>
6 * (c) 2011 Bastian Waidelich <bastian@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 /**
27 * Launcher for the bootstrap when executing via cli.
28 *
29 * ONLY USED INTERNALLY, MIGHT CHANGE WITHOUT NOTICE!
30 */
31
32 require_once(t3lib_extMgm::extPath('extbase', 'Classes/Core/Bootstrap.php'));
33
34 $bootstrap = t3lib_div::makeInstance('Tx_Extbase_Core_Bootstrap');
35 echo $bootstrap->run('', array());;
36 ?>