]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/cache_functions.php
New function isDirectory() introduced, fixed GET_DIR_AS_ARRAY() (replaces scandir())
[mailer.git] / inc / libs / cache_functions.php
index 7753dd138679fe449382c7dd76d604643dcc230b..8ef45755e83065b164b2d75320bec6a415c0c957 100644 (file)
@@ -64,7 +64,7 @@ class CacheSystem {
                $this->path = $path;
 
                // Check if path exists
-               if ((is_dir($path)) && (!$tested)) {
+               if ((isDirectory($path)) && (!$tested)) {
                        // Check if we can create a file inside the path
                        touch($path."dummy.tmp", 'w');
                        if (FILE_READABLE($path."dummy.tmp")) {