mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-30 18:24:29 +01:00
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'])) {
|
||||
file_put_contents('tmp/cache/cache_config.php', '<?php '.
|
||||
'$config = array();'.
|
||||
'$config[\'cache\'] = '.
|
||||
var_export($config['cache'], true).';'.
|
||||
'$config[\'cache\'] = '.var_export($config['cache'], true).';'.
|
||||
'$config[\'cache_config\'] = true;'.
|
||||
'$config[\'debug\'] = '.var_export($config['debug'], true).';'.
|
||||
'require_once(\'inc/cache.php\');'
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user