From: Roland Häder Date: Fri, 13 Mar 2009 13:30:54 +0000 (+0000) Subject: Rewritten to use scanClassPath() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b351e013551673655f50723ab0788d2f493c9900;p=admin.git Rewritten to use scanClassPath() --- diff --git a/application/admin/loader.php b/application/admin/loader.php index 12b388b..fca1551 100644 --- a/application/admin/loader.php +++ b/application/admin/loader.php @@ -28,7 +28,7 @@ $cfg = FrameworkConfiguration::getInstance(); // Load all classes for the application foreach ($lowerClasses as $className) { // Load the application classes - ClassLoader::getInstance()->loadClasses(sprintf("%s/%s/%s", $cfg->readConfig('application_path'), $cfg->readConfig('app_name'), $className)); + ClassLoader::getInstance()->scanClassPath(sprintf("%s/%s/%s", $cfg->readConfig('application_path'), $cfg->readConfig('app_name'), $className)); } // END - if // Clean up the global namespace