]> git.mxchange.org Git - mailer.git/blobdiff - inc/classes/cachesystem.class.php
More stuff for mysql3->mysql switch.
[mailer.git] / inc / classes / cachesystem.class.php
index 6a2ca4e134f3b5da2fade398992f99f361e7bdf7..f66a1e3a80c3e310d76a7e5725924068a6052eec 100644 (file)
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : CacheSystem-Klasse                               *
  * -------------------------------------------------------------------- *
- * $Revision::                                                        $ *
- * $Date::                                                            $ *
- * $Tag:: 0.2.1-FINAL                                                 $ *
- * $Author::                                                          $ *
- * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
  * Copyright (c) 2009 - 2013 by Mailer Developer Team                   *
  * For more information visit: http://mxchange.org                      *
@@ -62,13 +57,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();
 
@@ -195,9 +193,6 @@ class CacheSystem {
                                } elseif ($this->name == 'refsystem') {
                                        // Referral system
                                        $GLOBALS['cache_array']['refsystem'][$k][$data['id']] = $v;
-                               } elseif ($this->name == 'revision') {
-                                       // Revision data
-                                       $GLOBALS['cache_array']['revision'][$k][0] = $v;
                                } elseif ($this->name == 'themes') {
                                        // Themes
                                        if ($k == 'theme_path') {