cache_config: fix debug notice
This commit is contained in:
parent
45f11d1d78
commit
f053450edf
@ -295,9 +295,9 @@ function loadConfig() {
|
|||||||
if ($config['cache_config'] && !isset ($config['cache_config_loaded'])) {
|
if ($config['cache_config'] && !isset ($config['cache_config_loaded'])) {
|
||||||
file_put_contents('tmp/cache/cache_config.php', '<?php '.
|
file_put_contents('tmp/cache/cache_config.php', '<?php '.
|
||||||
'$config = array();'.
|
'$config = array();'.
|
||||||
'$config[\'cache\'] = '.
|
'$config[\'cache\'] = '.var_export($config['cache'], true).';'.
|
||||||
var_export($config['cache'], true).';'.
|
|
||||||
'$config[\'cache_config\'] = true;'.
|
'$config[\'cache_config\'] = true;'.
|
||||||
|
'$config[\'debug\'] = '.var_export($config['debug'], true).';'.
|
||||||
'require_once(\'inc/cache.php\');'
|
'require_once(\'inc/cache.php\');'
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user