X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Flibs%2Fcache_functions.php;h=4dfed15897d770f3a997001f0523f7fdba06c8de;hp=1e38e1faf6763a3ba996c0b5ca1a358c0647789e;hb=5071030af40e69ca4284642f44758964e18f5be8;hpb=3dc2d90bb1fb18124d214dd0aa06f0d3489393e6 diff --git a/inc/libs/cache_functions.php b/inc/libs/cache_functions.php index 1e38e1faf6..4dfed15897 100644 --- a/inc/libs/cache_functions.php +++ b/inc/libs/cache_functions.php @@ -76,7 +76,7 @@ class CacheSystem { // 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')) { @@ -234,7 +234,7 @@ class CacheSystem { // Remove cache file from system //* DEBUG: */ print __METHOD__."(".__LINE__."): {$this->name} - DESTROYED!
\n"; - unlink($this->fqfn); + removeFile($this->fqfn); // @TODO remove from $GLOBALS['cache_array']!!! // Is the file there?