A lot calls saved, expression language rewritten:
[mailer.git] / inc / classes / cachesystem.class.php
index 5a428985b9271fdbc5286767ffd06212586baa30..4776a89ed11b24f24be894b660a27aa5c0464405 100644 (file)
@@ -65,9 +65,9 @@ class CacheSystem {
                // Remeber path
 
                // Check if path exists
-               if (isDirectory(getConfig('CACHE_PATH'))) {
+               if (isDirectory(getCachePath())) {
                        // Is there a .htaccess file?
-                       if (isFileReadable(getConfig('CACHE_PATH') . '.htaccess')) {
+                       if (isFileReadable(getCachePath() . '.htaccess')) {
                                // All done!
                                $this->ret = $this->statusDone;
                        } else {
@@ -83,7 +83,7 @@ class CacheSystem {
                $this->name = $cacheName;
 
                // Construct FQFN (full qualified file name)
-               $this->fqfn = getConfig('CACHE_PATH') . $cacheName . $this->extension;
+               $this->fqfn = getCachePath() . $cacheName . $this->extension;
 
                // Check if file exists and if version matches
                if (!isset($this->status[$cacheName])) {