]> git.mxchange.org Git - hub.git/commitdiff
Used scanApplicationClasses() now and fixed core.
authorRoland Haeder <roland@mxchange.org>
Thu, 15 May 2014 19:19:00 +0000 (21:19 +0200)
committerRoland Haeder <roland@mxchange.org>
Thu, 15 May 2014 19:41:08 +0000 (21:41 +0200)
Signed-off-by: Roland Haeder <roland@mxchange.org>
application/hub/loader.php
core

index 1d0ca64d0361e26d872d77512fd3e8048546b67e..0bfd5ec63478d2c42b12306bf3c2505692f71eed 100644 (file)
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-// 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 8cf55ae83f75ca377a37cf60b237af89fa79af45..74cc951d93fe50a3285830bf757d985e0e670c58 160000 (submodule)
--- a/core
+++ b/core
@@ -1 +1 @@
-Subproject commit 8cf55ae83f75ca377a37cf60b237af89fa79af45
+Subproject commit 74cc951d93fe50a3285830bf757d985e0e670c58