summaryrefslogtreecommitdiff
path: root/inc/cache.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/cache.php')
-rw-r--r--inc/cache.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/cache.php b/inc/cache.php
index 491fe1923..ae27f4e9e 100644
--- a/inc/cache.php
+++ b/inc/cache.php
@@ -181,6 +181,7 @@ class cache_parser extends cache {
}
function _addDependencies() {
+ global $conf;
$this->depends['age'] = isset($this->depends['age']) ?
min($this->depends['age'],$conf['cachetime']) : $conf['cachetime'];