diff options
Diffstat (limited to 'inc/cache.php')
-rw-r--r-- | inc/cache.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/cache.php b/inc/cache.php index 68f64eaa2..1776d94cd 100644 --- a/inc/cache.php +++ b/inc/cache.php @@ -26,7 +26,7 @@ class cache { * @param string $key primary identifier * @param string $ext file extension */ - public function cache($key,$ext) { + public function __construct($key,$ext) { $this->key = $key; $this->ext = $ext; $this->cache = getCacheName($key,$ext); |