TYPO3 CMS
TYPO3_6-2
Main Page
Related Pages
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
+
Files
File List
+
File Members
+
All
$
(
_
a
c
d
e
f
h
i
l
o
p
r
s
t
u
x
+
Functions
_
a
c
d
e
f
i
l
o
p
r
s
u
x
+
Variables
$
(
_
a
d
e
h
i
p
r
s
t
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Pages
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'
;
101
\TYPO3\CMS\Core\Core\Bootstrap::getInstance
()
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
107
$getPost
=
\TYPO3\CMS\Core\Utility\GeneralUtility::_GP
(
'install'
);
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
}
119
\TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance
(
$controllerClassName
)->execute();
$controllerClassName
$controllerClassName
Definition:
Install.php:108
TYPO3\CMS\Core\Core\Bootstrap\getInstance
static getInstance()
Definition:
Bootstrap.php:97
TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance
static makeInstance($className)
Definition:
GeneralUtility.php:4424
$getPost
$getPost
Definition:
Install.php:107
TYPO3\CMS\Core\Utility\GeneralUtility\_GP
static _GP($var)
Definition:
GeneralUtility.php:128
typo3
sysext
install
Start
Install.php
Generated on Wed Aug 7 2019 09:52:29 for TYPO3 CMS by
1.8.13