Introduced FileNotFoundException
[core.git] / inc / classes / main / class_BaseFrameworkSystem.php
index 3ea5bcf5d49cda30bbfa8d5f3ce1bd1096b90c13..85aeda63bfdf301cf09e5cf423314417ce47d7b4 100644 (file)
@@ -3274,7 +3274,7 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
                $isReadable = FALSE;
 
                // Is within parameters, so check if it is a file and readable
-               $isReadable = ((self::isReachableFilePath($fileName)) && (is_file($fileName)) && (is_readable($fileName)));
+               $isReadable = ((self::isReachableFilePath($fileName)) && (file_exists($fileName)) && (is_file($fileName)) && (is_readable($fileName)));
 
                // Return status
                return $isReadable;