From: Roland Haeder Date: Thu, 15 May 2014 19:19:00 +0000 (+0200) Subject: Used scanApplicationClasses() now and fixed core. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5caed582c15e9823ab46b6fee01cd31b50faf46d;p=hub.git Used scanApplicationClasses() now and fixed core. Signed-off-by: Roland Haeder --- diff --git a/application/hub/loader.php b/application/hub/loader.php index 1d0ca64d0..0bfd5ec63 100644 --- a/application/hub/loader.php +++ b/application/hub/loader.php @@ -21,18 +21,8 @@ * along with this program. If not, see . */ -// Get config instance -$cfg = FrameworkConfiguration::getSelfInstance(); - -// Load all classes for the application -foreach ($lowerClasses as $class) { - // Try to load the application classes - ClassLoader::getSelfInstance()->scanClassPath(sprintf('%s/%s/%s', $cfg->getConfigEntry('application_path'), $cfg->getConfigEntry('app_name'), $class)); -} // END - foreach - -// Clean up the global namespace -unset($lowerClasses); -unset($class); +// Scan for application's classes, exceptions and interfaces +ClassLoader::scanApplicationClasses(); // [EOF] ?> diff --git a/core b/core index 8cf55ae83..74cc951d9 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 8cf55ae83f75ca377a37cf60b237af89fa79af45 +Subproject commit 74cc951d93fe50a3285830bf757d985e0e670c58