More $config['debug'] improvements to time-related stuff

This commit is contained in:
Michael Foster 2013-08-30 08:39:11 +10:00
parent 8921eb9c1a
commit 343803afb9
5 changed files with 47 additions and 20 deletions

View file

@ -66,7 +66,7 @@ class Cache {
return $data;
}
public static function set($key, $value, $expires = false) {
global $config;
global $config, $debug;
$key = $config['cache']['prefix'] . $key;