diff options
| author | czaks <marcin@6irc.net> | 2015-04-05 20:04:27 +0200 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2015-04-05 20:04:27 +0200 |
| commit | f053450edfc137e369839fe7203d50315d76fccf (patch) | |
| tree | 711d1dc316b2ff7e80f882dfc0dd901df9738771 /inc/functions.php | |
| parent | 45f11d1d782ca51b43a7d5f0ddd035dcfdd4f9cd (diff) | |
cache_config: fix debug notice
Diffstat (limited to 'inc/functions.php')
| -rwxr-xr-x | inc/functions.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/functions.php b/inc/functions.php index 12135983..a9e912bd 100755 --- a/inc/functions.php +++ b/inc/functions.php @@ -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\');' ); |
