X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Floader%2Fclass_ClassLoader.php;h=11683c49963afd05d9d79552cdba9fe0b8a956d1;hp=31fc9de2ee2f52b45658c768a124c987dc842016;hb=de4993bdd2170972f3c004bf7473bfd2032c2dda;hpb=d61f4e1b3b96da51056889c6340d2e935d7e9972 diff --git a/inc/loader/class_ClassLoader.php b/inc/loader/class_ClassLoader.php index 31fc9de2..11683c49 100644 --- a/inc/loader/class_ClassLoader.php +++ b/inc/loader/class_ClassLoader.php @@ -235,7 +235,7 @@ class ClassLoader { } // END - if // IS the cache there? - if (file_exists($this->listCacheFQFN)) { + if (BaseFrameworkSystem::isReadableFile($this->listCacheFQFN)) { // Get content $cacheContent = file_get_contents($this->listCacheFQFN); @@ -247,7 +247,7 @@ class ClassLoader { } // END - if // Does the class cache exist? - if (file_exists($this->classCacheFQFN)) { + if (BaseFrameworkSystem::isReadableFile($this->listCacheFQFN)) { // Then include it require($this->classCacheFQFN);