summaryrefslogtreecommitdiff
path: root/inc/cache.php
diff options
context:
space:
mode:
authorMichael Foster <savetheinternet@tinyboard.org>2013-08-30 08:39:11 +1000
committerMichael Foster <savetheinternet@tinyboard.org>2013-08-30 08:39:11 +1000
commit343803afb9de3b27ba44d9594b6770f9c84d2e54 (patch)
tree95e429f5ab6875f5ce41e54702ff94aa357d5d9b /inc/cache.php
parent8921eb9c1a43e13e096fe72850d75dcf2974483f (diff)
More $config['debug'] improvements to time-related stuff
Diffstat (limited to 'inc/cache.php')
-rw-r--r--inc/cache.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/cache.php b/inc/cache.php
index fd89be13..2f3c746c 100644
--- a/inc/cache.php
+++ b/inc/cache.php
@@ -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;