aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/lib/cache.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/cache.php b/engine/lib/cache.php
index 25205dfb1..89c522fea 100644
--- a/engine/lib/cache.php
+++ b/engine/lib/cache.php
@@ -167,7 +167,7 @@
*
* @var unknown_type
*/
- private static $__cache;
+ public static $__cache;
/**
* ID of a cache to use.
@@ -186,7 +186,7 @@
function __construct($cache_id = 'default')
{
$this->cache_id = $cache_id;
-
+ $this->clear();
}
public function save($key, $data)