X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fincludes.php;h=52f859473f78adc4d6fbeff9ff0760ba8c983573;hb=931f86da873a7ce92acc8cc9d5aa3c2db391ceb3;hp=28a56100fa3892ec99391fda6f94e445d55236f0;hpb=ff66822b5fb6a92f5dc8af55290ecb89ec7f1aaf;p=shipsimu.git diff --git a/inc/includes.php b/inc/includes.php index 28a5610..52f8594 100644 --- a/inc/includes.php +++ b/inc/includes.php @@ -2,10 +2,11 @@ /** * Loads more include files by using the generic class loader * - * @author Roland Haeder - * @version 0.0 + * @author Roland Haeder + * @version 0.0.0 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version + * @link http://www.ship-simu.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -18,14 +19,11 @@ * 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 . */ -// Load the class loader first -require(sprintf("%sinc/loader/class_ClassLoader%s", - PATH, - FrameworkConfiguration::getInstance()->readConfig("php_extension")) -); +// Include the class loader function +require(sprintf("%sinc/loader/class_ClassLoader%s", PATH, FrameworkConfiguration::getInstance()->readConfig("php_extension"))); /** * Is the devel package included? @@ -37,26 +35,9 @@ if (is_dir(sprintf("%sdevel", PATH))) { ClassLoader::getInstance()->loadClasses("devel"); } -/** - * Load additional include files before main load - */ -FrameworkConfiguration::getInstance()->loadPreIncludes(); - -/** - * Load all main include files - * - * +++ MAIN LOADER! +++ - * - */ - -/////////////////////////////////////////////////// -// Maybe we need this place for future releases? // -/////////////////////////////////////////////////// - -/** - * Load additional include files after main load - */ -FrameworkConfiguration::getInstance()->loadPostIncludes(); +// Shall we include additional configs where you can configure some things? Then +// Load matching config +ClassLoader::getInstance()->loadExtraConfigs(); // [EOF] ?>