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
AdditionalConfiguration.php
Go to the documentation of this file.
1
<?php
2
if
(!defined(
'TYPO3_MODE'
)) {
3
die
(
'Access denied.'
);
4
}
5
// You may add PHP code here, wich is executed on every request after the configuration is loaded.
6
// The code here should only manipulate TYPO3_CONF_VARS for example to set the database configuration
7
// dependent to the requested environment.
8
9
// $GLOBALS['TYPO3_CONF_VARS']['BE']['explicitConfirmationOfTranslation'] = TRUE;
10
11
$GLOBALS
[
'TYPO3_CONF_VARS'
][
'FE'
][
'debug'
] = FALSE;
12
13
// Register hooks for frontend test
14
if
(
TYPO3_MODE
===
'FE'
) {
15
$GLOBALS
[
'TYPO3_CONF_VARS'
][
'SC_OPTIONS'
][
'tslib/index_ts.php'
][
'postBeUser'
][
'FunctionalTest'
] =
16
'TYPO3\\CMS\\Core\\Tests\\Functional\\Framework\\Frontend\\Hook\\BackendUserHandler->initialize'
;
17
}
18
?>
TYPO3_MODE
const TYPO3_MODE
Definition:
init.php:40
die
die
Definition:
index.php:6
$GLOBALS
if(!defined('TYPO3_MODE')) $GLOBALS['TYPO3_CONF_VARS']['FE']['debug']
Definition:
AdditionalConfiguration.php:11
typo3
sysext
core
Tests
Functional
Fixtures
Frontend
AdditionalConfiguration.php
Generated on Wed Aug 7 2019 09:52:23 for TYPO3 CMS by
1.8.13