TYPO3 CMS  TYPO3_6-2
Install.php
Go to the documentation of this file.
1 <?php
96 define('TYPO3_MODE', 'BE');
97 define('TYPO3_enterInstallScript', '1');
98 
99 // Bootstrap bare minimum: class loader, LocalConfiguration, but no extensions and such
100 require __DIR__ . '/../../core/Classes/Core/Bootstrap.php';
102  ->baseSetup('typo3/sysext/install/Start/')
103  ->startOutputBuffering()
104  ->loadConfigurationAndInitialize(FALSE, 'TYPO3\\CMS\\Core\\Package\\FailsafePackageManager');
105 
106 // Execute 'tool' or 'step' controller depending on install[controller] GET/POST parameter
108 $controllerClassName = 'TYPO3\\CMS\\Install\\Controller\\StepController';
109 if (isset($getPost['controller'])) {
110  switch ($getPost['controller']) {
111  case 'tool':
112  $controllerClassName = 'TYPO3\\CMS\\Install\\Controller\\ToolController';
113  break;
114  case 'ajax':
115  $controllerClassName = 'TYPO3\\CMS\\Install\\Controller\\AjaxController';
116  break;
117  }
118 }
$controllerClassName
Definition: Install.php:108
$getPost
Definition: Install.php:107