From: Roland Häder Date: Fri, 13 Mar 2009 13:30:58 +0000 (+0000) Subject: Rewritten to use scanClassPath() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5593ea9707a0526aef45f227bdec8e36b3b82484;p=mailer.git Rewritten to use scanClassPath() --- diff --git a/application/mxchange/loader.php b/application/mxchange/loader.php index b6a87840ed..0fa1c2b158 100644 --- a/application/mxchange/loader.php +++ b/application/mxchange/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