]> git.mxchange.org Git - core.git/blobdiff - inc/classes.php
All empty double-quoted strings replaced with single-quotes
[core.git] / inc / classes.php
index 78bafebbf89cbc5e23f319f9d811473ca73c0f6b..49867957408e9e578f7968efcecc7a33a7ab1355 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, this is free software
+ * @copyright  Copyright (c) 2007 - 2009 Roland Haeder, this is free software
  * @license            GNU GPL 3.0 or any newer version
  *
  * This program is free software: you can redistribute it and/or modify
  * @license            GNU GPL 3.0 or any newer version
  *
  * This program is free software: you can redistribute it and/or modify
 
 // Lower framework classes
 $lowerClasses = array(
 
 // Lower framework classes
 $lowerClasses = array(
-       0 => "exceptions", // Exceptions
-       1 => "interfaces", // Interfaces
-       2 => "main",       // General main classes
-       3 => "middleware"  // The middleware
+       0 => 'exceptions', // Exceptions
+       1 => 'interfaces', // Interfaces
+       2 => 'main',       // General main classes
+       3 => 'middleware'  // The middleware
 );
 
 // Load all classes
 foreach ($lowerClasses as $className) {
        // Try to load the framework classes
        try {
 );
 
 // Load all classes
 foreach ($lowerClasses as $className) {
        // Try to load the framework classes
        try {
-               ClassLoader::getInstance()->loadClasses(sprintf("inc/classes/%s/", $className));
+               ClassLoader::getInstance()->scanClassPath(sprintf("inc/classes/%s/", $className));
        } catch (PathIsNoDirectoryException $e) {
                ApplicationEntryPoint::app_die(sprintf("[Main:] Could not load framework classes from path <span class=\"exception_data\">%s</span> for the follwing reason: <span class=\"exception_reason\">%s</span>",
                        $className
        } catch (PathIsNoDirectoryException $e) {
                ApplicationEntryPoint::app_die(sprintf("[Main:] Could not load framework classes from path <span class=\"exception_data\">%s</span> for the follwing reason: <span class=\"exception_reason\">%s</span>",
                        $className