summaryrefslogtreecommitdiff
path: root/inc/cache.php
diff options
context:
space:
mode:
authorChristopher Smith <chris@jalakai.co.uk>2015-05-15 19:32:40 +0200
committerChristopher Smith <chris@jalakai.co.uk>2015-05-15 19:32:40 +0200
commit5c3b310dea6f5a4712e4b9bc1f3d6d198c057ee0 (patch)
tree190a3031d17109f7c44821bbc975d51198f5de62 /inc/cache.php
parent26e22ab837dcabe137a0912fcd2f96d0c35f48c8 (diff)
downloadrpg-5c3b310dea6f5a4712e4b9bc1f3d6d198c057ee0.tar.gz
rpg-5c3b310dea6f5a4712e4b9bc1f3d6d198c057ee0.tar.bz2
more class constructors to __construct()
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 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);