X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=application%2Fselector%2Floader.php;h=ace39f5aeea890c36acd349785e38028137a283e;hb=40747ca36a95efb239b7b85a175eddab7da6e331;hp=44dbb5c4bb3a822ef1281fa24b88e0fb09bab87e;hpb=2a157996efd680b87b0a84cc95b91619ea6e81d9;p=shipsimu.git diff --git a/application/selector/loader.php b/application/selector/loader.php index 44dbb5c..ace39f5 100644 --- a/application/selector/loader.php +++ b/application/selector/loader.php @@ -18,7 +18,7 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * along with this program. If not, see . */ // Is the application instance set? @@ -28,10 +28,7 @@ if (!isset($application)) { } // Load all classes -ClassLoader::getInstance()->loadClasses(sprintf("%s/%s/", FrameworkConfiguration::getInstance()->readConfig("application_path"), $application)); - -// Include all classes -ClassLoader::getInstance()->includeAllClasses(); +ClassLoader::getInstance()->loadClasses(sprintf("%s/%s/", FrameworkConfiguration::getInstance()->readConfig('application_path'), $application)); // Clean up the global namespace unset($lowerClasses);