Changeset View
Changeset View
Standalone View
Standalone View
core/kernel/utility/system_config.php
Show First 20 Lines • Show All 78 Lines • ▼ Show 20 Line(s) | |||||
'StructureTreeRebuildTime' => 10, | 'StructureTreeRebuildTime' => 10, | ||||
'SystemLogMaxLevel' => 5, | 'SystemLogMaxLevel' => 5, | ||||
'TemplateMappingRebuildTime' => 5, | 'TemplateMappingRebuildTime' => 5, | ||||
'TrustProxy' => '0', | 'TrustProxy' => '0', | ||||
'UnitCacheRebuildTime' => 10, | 'UnitCacheRebuildTime' => 10, | ||||
'WebsiteCharset' => 'utf-8', | 'WebsiteCharset' => 'utf-8', | ||||
'WebsitePath' => rtrim(preg_replace('/'.preg_quote(rtrim(defined('REL_PATH') ? REL_PATH : '', '/'), '/').'$/', '', str_replace('\\', '/', dirname($_SERVER['PHP_SELF']))), '/'), | 'WebsitePath' => rtrim(preg_replace('/'.preg_quote(rtrim(defined('REL_PATH') ? REL_PATH : '', '/'), '/').'$/', '', str_replace('\\', '/', dirname($_SERVER['PHP_SELF']))), '/'), | ||||
'WriteablePath' => DIRECTORY_SEPARATOR . 'system', | 'WriteablePath' => DIRECTORY_SEPARATOR . 'system', | ||||
'SecurityHmacKey' => '', | |||||
'SecurityEncryptionKey' => '', | |||||
); | ); | ||||
return $this->parseSections ? array('Misc' => $ret) : $ret; | return $this->parseSections ? array('Misc' => $ret) : $ret; | ||||
} | } | ||||
/** | /** | ||||
* Parses "/system/config.php" file and writes the result to the data variable | * Parses "/system/config.php" file and writes the result to the data variable | ||||
* | * | ||||
▲ Show 20 Lines • Show All 193 Lines • Show Last 20 Lines |