X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fclasses%2Fcachesystem.class.php;h=f66a1e3a80c3e310d76a7e5725924068a6052eec;hb=ed930d1133b51edc7ec2379d91286d64afd9bc4f;hp=6a2ca4e134f3b5da2fade398992f99f361e7bdf7;hpb=5f70ac9d208ca39e3381705afcad2654a700a850;p=mailer.git diff --git a/inc/classes/cachesystem.class.php b/inc/classes/cachesystem.class.php index 6a2ca4e134..f66a1e3a80 100644 --- a/inc/classes/cachesystem.class.php +++ b/inc/classes/cachesystem.class.php @@ -10,11 +10,6 @@ * -------------------------------------------------------------------- * * 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') {