|
@@ 1325-1335 (lines=11) @@
|
| 1322 |
|
|
| 1323 |
|
// Speedup check for config.ini |
| 1324 |
|
|
| 1325 |
|
if( !$configcache->hasDefaultConfigIni ) { |
| 1326 |
|
if( is_array($this->data->config->templates) ) { |
| 1327 |
|
foreach($this->data->config->templates as $type => $templates ) { |
| 1328 |
|
if( isset($templates["config.ini"]) ) { |
| 1329 |
|
$configcache->hasDefaultConfigIni = true; |
| 1330 |
|
$configcache->hasConfigIni = true; |
| 1331 |
|
break; |
| 1332 |
|
} |
| 1333 |
|
} |
| 1334 |
|
} |
| 1335 |
|
} |
| 1336 |
|
|
| 1337 |
|
if (is_array($this->data->config->templates)) { |
| 1338 |
|
$configcache->localTemplates = $this->data->config->templates; |
|
@@ 1342-1352 (lines=11) @@
|
| 1339 |
|
} |
| 1340 |
|
// hasConfigIni is checked in getConfig. Only calls config.ini if set to true |
| 1341 |
|
|
| 1342 |
|
if( !$configcache->hasDefaultConfigIni ) { |
| 1343 |
|
$configcache->hasConfigIni = false; |
| 1344 |
|
if( is_array($this->data->config->pinp) ) { |
| 1345 |
|
foreach( $this->data->config->pinp as $type => $templates ) { |
| 1346 |
|
if( isset($templates["config.ini"]) ) { |
| 1347 |
|
$configcache->hasConfigIni = true; |
| 1348 |
|
break; |
| 1349 |
|
} |
| 1350 |
|
} |
| 1351 |
|
} |
| 1352 |
|
} |
| 1353 |
|
|
| 1354 |
|
$localcachesettings = $this->data->config->cacheSettings; |
| 1355 |
|
if (!is_array($localcachesettings) ){ |