TYPO3CMS  4.7
 All Classes Namespaces Files Functions Variables Pages
init.php File Reference

Go to the source code of this file.

Namespaces

 TYPO3
 

Variables

const TYPO3_OS stristr(PHP_OS,'win')&&!stristr(PHP_OS,'darwin')?'WIN':''
 
const TYPO3_MODE 'BE'
 
const PATH_thisScript str_replace('//', '/', str_replace('\\', '/', (PHP_SAPI == 'fpm-fcgi' || PHP_SAPI == 'cgi' || PHP_SAPI == 'isapi' || PHP_SAPI == 'cgi-fcgi') && ($_SERVER['ORIG_PATH_TRANSLATED'] ? $_SERVER['ORIG_PATH_TRANSLATED'] : $_SERVER['PATH_TRANSLATED']) ? ($_SERVER['ORIG_PATH_TRANSLATED'] ? $_SERVER['ORIG_PATH_TRANSLATED'] : $_SERVER['PATH_TRANSLATED']) : ($_SERVER['ORIG_SCRIPT_FILENAME'] ? $_SERVER['ORIG_SCRIPT_FILENAME'] : $_SERVER['SCRIPT_FILENAME'])))
 
const TYPO3_mainDir 'typo3/'
 
if(isset($BACK_PATH)&&strlen($BACK_PATH) >
0 &&TYPO3_mainDir!= 'typo3/'&&substr($BACK_PATH,-7)==
'/typo3/') 
$temp_path = str_replace('\\','/',dirname(PATH_thisScript).'/')
 
 $temp_modPath =''
 
if(substr($temp_path,-strlen(TYPO3_mainDir))!=TYPO3_mainDir)
if(!$temp_path||substr($temp_path,-strlen(TYPO3_mainDir))!=TYPO3_mainDir
else
 
const PATH_typo3_mod $temp_modPath
 
const PATH_site substr(PATH_typo3,0,-strlen(TYPO3_mainDir))
 
 $temp_path_t3lib = @is_dir(PATH_site.'t3lib/') ? PATH_site.'t3lib/' : PATH_typo3.'t3lib/'
 
const PATH_t3lib $temp_path_t3lib
 
const PATH_typo3conf PATH_site.'typo3conf/'
 
 $TYPO3_DB = t3lib_div::makeInstance('t3lib_DB')
 
$TYPO3_DB debugOutput = $TYPO3_CONF_VARS['SYS']['sqlDebug']
 
 $CLIENT = t3lib_div::clientInfo()
 
 $PARSETIME_START = t3lib_div::milliseconds()
 
 if (!$CLIENT['BROWSER']&&!(TYPO3_REQUESTTYPE &TYPO3_REQUESTTYPE_CLI))
 
if(TYPO3_extTableDef_script)
if(is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['GLOBAL']['extTablesInclusion-PostProcessing'])) 
$spriteManager = t3lib_div::makeInstance('t3lib_SpriteManager', TRUE)
 
 $BE_USER = t3lib_div::makeInstance('t3lib_beUserAuth')
 
$BE_USER warningEmail = $TYPO3_CONF_VARS['BE']['warning_email_addr']
 
$BE_USER lockIP = $TYPO3_CONF_VARS['BE']['lockIP']
 
$BE_USER auth_timeout_field = intval($TYPO3_CONF_VARS['BE']['sessionTimeout'])
 
$BE_USER OS = TYPO3_OS
 
 $WEBMOUNTS = $BE_USER->returnWebmounts()
 
 $FILEMOUNTS = $BE_USER->returnFilemounts()
 
 $GLOBALS ['LANG'] = t3lib_div::makeInstance('language')
 

Variable Documentation

$CLIENT = t3lib_div::clientInfo()

Definition at line 224 of file init.php.

Referenced by tx_sysaction_task\viewRecordList().

$FILEMOUNTS = $BE_USER->returnFilemounts()
$GLOBALS['LANG'] = t3lib_div::makeInstance('language')

Definition at line 430 of file init.php.

$PARSETIME_START = t3lib_div::milliseconds()

Definition at line 225 of file init.php.

if (TYPO3_extTableDef_script) if (is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['GLOBAL']['extTablesInclusion-PostProcessing'])) $spriteManager = t3lib_div::makeInstance('t3lib_SpriteManager', TRUE)

Definition at line 398 of file init.php.

$temp_modPath =''

Definition at line 104 of file init.php.

if (isset($BACK_PATH)&&strlen($BACK_PATH) > 0 &&TYPO3_mainDir!= 'typo3/'&&substr($BACK_PATH,-7)== '/typo3/') $temp_path = str_replace('\\','/',dirname(PATH_thisScript).'/')

Definition at line 103 of file init.php.

Referenced by t3lib_iconWorks\skinImg().

$temp_path_t3lib = @is_dir(PATH_site.'t3lib/') ? PATH_site.'t3lib/' : PATH_typo3.'t3lib/'

Definition at line 174 of file init.php.

$WEBMOUNTS = $BE_USER->returnWebmounts()

Definition at line 422 of file init.php.

Referenced by localPageTree\__construct(), and localPageTree\localPageTree().

$BE_USER auth_timeout_field = intval($TYPO3_CONF_VARS['BE']['sessionTimeout'])
if ($TYPO3_LOADED_EXT['_CACHEFILE']) else
Initial value:
{
define('PATH_typo3', $temp_path)
if(isset($BACK_PATH)&&strlen($BACK_PATH) > 0 &&TYPO3_mainDir!= 'typo3/'&&substr($BACK_PATH,-7)== '/typo3/') $temp_path
Definition: init.php:103

Definition at line 170 of file init.php.

if(!$CLIENT['BROWSER']&&!(TYPO3_REQUESTTYPE &TYPO3_REQUESTTYPE_CLI))

Definition at line 365 of file init.php.

$BE_USER lockIP = $TYPO3_CONF_VARS['BE']['lockIP']

Definition at line 411 of file init.php.

Referenced by t3lib_userAuth\getNewSessionRecord(), and t3lib_userAuth\ipLockClause().

$BE_USER OS = TYPO3_OS

Definition at line 413 of file init.php.

const PATH_site substr(PATH_typo3,0,-strlen(TYPO3_mainDir))

Definition at line 173 of file init.php.

const PATH_thisScript str_replace('//', '/', str_replace('\\', '/', (PHP_SAPI == 'fpm-fcgi' || PHP_SAPI == 'cgi' || PHP_SAPI == 'isapi' || PHP_SAPI == 'cgi-fcgi') && ($_SERVER['ORIG_PATH_TRANSLATED'] ? $_SERVER['ORIG_PATH_TRANSLATED'] : $_SERVER['PATH_TRANSLATED']) ? ($_SERVER['ORIG_PATH_TRANSLATED'] ? $_SERVER['ORIG_PATH_TRANSLATED'] : $_SERVER['PATH_TRANSLATED']) : ($_SERVER['ORIG_SCRIPT_FILENAME'] ? $_SERVER['ORIG_SCRIPT_FILENAME'] : $_SERVER['SCRIPT_FILENAME'])))

Definition at line 81 of file init.php.

const PATH_typo3_mod $temp_modPath

Definition at line 172 of file init.php.

const PATH_typo3conf PATH_site.'typo3conf/'

Definition at line 176 of file init.php.

const TYPO3_mainDir 'typo3/'

Definition at line 87 of file init.php.

const TYPO3_MODE 'BE'

Definition at line 80 of file init.php.

const TYPO3_OS stristr(PHP_OS,'win')&&!stristr(PHP_OS,'darwin')?'WIN':''

Definition at line 79 of file init.php.

$BE_USER warningEmail = $TYPO3_CONF_VARS['BE']['warning_email_addr']

Definition at line 410 of file init.php.

Referenced by t3lib_userAuth\checkAuthentication().