X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fclasses%2Fcachesystem.class.php;h=a5ea7261d17157cb62921364226888ab37f7c4fe;hp=6a2ca4e134f3b5da2fade398992f99f361e7bdf7;hb=ef93474b89c9e51dd97f4eb79b260630f05216f2;hpb=18e3de7e5fc69d4d2a9f99e51b9f0ad516250744 diff --git a/inc/classes/cachesystem.class.php b/inc/classes/cachesystem.class.php index 6a2ca4e134..a5ea7261d1 100644 --- a/inc/classes/cachesystem.class.php +++ b/inc/classes/cachesystem.class.php @@ -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();