X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Floader%2Fclass_ClassLoader.php;h=11683c49963afd05d9d79552cdba9fe0b8a956d1;hp=31fc9de2ee2f52b45658c768a124c987dc842016;hb=df1b3a826bc67c252efaaac93cb8e78b2cb29603;hpb=bde1a7331a8a5c1e4a304583c0db268026aeb8a8 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);