Introduced some wrapper functions, the extension for cache files is now .cache.php...
[mailer.git] / inc / classes / cachesystem.class.php
index 6a2ca4e134f3b5da2fade398992f99f361e7bdf7..a5ea7261d17157cb62921364226888ab37f7c4fe 100644 (file)
@@ -62,13 +62,16 @@ class CacheSystem {
        var $rebuilt = array();
 
        // File extension
-       var $extension = '.cache';
+       var $extension = '';
        var $status = array();
        var $readable = array();
        var $fullPath = '';
 
        // Constructor
        function CacheSystem () {
+               // Set extension
+               $this->extension = getCacheExtension();
+
                // Construct full path
                $this->fullPath = getPath() . getCachePath();