1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-27 17:00:52 +01:00

cache_config: fix debug notice

This commit is contained in:
czaks 2015-04-05 20:04:27 +02:00
parent 45f11d1d78
commit f053450edf

View File

@ -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\');'
);