Changeset View
Changeset View
Standalone View
Standalone View
branches/5.2.x/core/kernel/utility/unit_config_reader.php
Show First 20 Lines • Show All 218 Lines • ▼ Show 20 Line(s) | |||||
$this->Application->Debugger->profileFinish( | $this->Application->Debugger->profileFinish( | ||||
'fcf', | 'fcf', | ||||
'findConfigFiles [' . count($this->configFiles) . ']' | 'findConfigFiles [' . count($this->configFiles) . ']' | ||||
); | ); | ||||
}*/ | }*/ | ||||
if ( $cache ) { | if ( $cache ) { | ||||
if ( $this->Application->isCachingType(CACHING_TYPE_MEMORY) ) { | if ( $this->Application->isCachingType(CACHING_TYPE_MEMORY) ) { | ||||
$this->Application->setCache('master:config_files', serialize($this->configFiles)); | $this->Application->setCache('master:config_files', serialize($this->configFiles), 0); | ||||
} | } | ||||
else { | else { | ||||
$this->Application->setDBCache('config_files', serialize($this->configFiles)); | $this->Application->setDBCache('config_files', serialize($this->configFiles), 0); | ||||
} | } | ||||
} | } | ||||
} | } | ||||
foreach ($this->configFiles as $filename) { | foreach ($this->configFiles as $filename) { | ||||
$prefix = $this->PreloadConfigFile($filename); | $prefix = $this->PreloadConfigFile($filename); | ||||
if (!$prefix) { | if (!$prefix) { | ||||
▲ Show 20 Lines • Show All 811 Lines • Show Last 20 Lines |