]> git.mxchange.org Git - mailer.git/commitdiff
Rewritten to use scanClassPath()
authorRoland Häder <roland@mxchange.org>
Fri, 13 Mar 2009 13:30:58 +0000 (13:30 +0000)
committerRoland Häder <roland@mxchange.org>
Fri, 13 Mar 2009 13:30:58 +0000 (13:30 +0000)
application/mxchange/loader.php

index b6a87840ed5a002438138072b7e4ee7cc0f9041e..0fa1c2b1588d79e09a42504fe4d2b5ca4991d632 100644 (file)
@@ -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