]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/cache_functions.php
Old config.php is now automatically updated to new config-local.php format, several...
[mailer.git] / inc / libs / cache_functions.php
index 1e38e1faf6763a3ba996c0b5ca1a358c0647789e..4dfed15897d770f3a997001f0523f7fdba06c8de 100644 (file)
@@ -76,7 +76,7 @@ class CacheSystem {
                        // Is the file there?
                        if (isFileReadable($fqfn)) {
                                // Yes, we can do. So let's remove it
                        // Is the file there?
                        if (isFileReadable($fqfn)) {
                                // Yes, we can do. So let's remove it
-                               unlink($fqfn);
+                               removeFile($fqfn);
 
                                // Is there a .htaccess file?
                                if (isFileReadable($path . '.htaccess')) {
 
                                // Is there a .htaccess file?
                                if (isFileReadable($path . '.htaccess')) {
@@ -234,7 +234,7 @@ class CacheSystem {
 
                        // Remove cache file from system
                        //* DEBUG: */ print __METHOD__."(<font color=\"#0000aa\">".__LINE__."</font>): {$this->name} - DESTROYED!<br />\n";
 
                        // Remove cache file from system
                        //* DEBUG: */ print __METHOD__."(<font color=\"#0000aa\">".__LINE__."</font>): {$this->name} - DESTROYED!<br />\n";
-                       unlink($this->fqfn);
+                       removeFile($this->fqfn);
                        // @TODO remove from $GLOBALS['cache_array']!!!
 
                        // Is the file there?
                        // @TODO remove from $GLOBALS['cache_array']!!!
 
                        // Is the file there?