]> git.mxchange.org Git - core.git/blobdiff - inc/includes.php
PHPMailer updated to latest version 2.3
[core.git] / inc / includes.php
index 7e3f5c9ffc6bf37b059d87261772ff30b4e29bc6..b5e6acdcf90fe94afdae28283cea4e28d3fd70dc 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.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
  * @link               http://www.ship-simu.org
  *
@@ -28,6 +28,10 @@ $cfg = FrameworkConfiguration::getInstance();
 // Include the class loader function
 require(sprintf("%sinc/loader/class_ClassLoader.php", $cfg->readConfig('base_path')));
 
+// Shall we include additional configs where you can configure some things? Then
+// Load matching config
+ClassLoader::getInstance()->loadExtraConfigs();
+
 // Does the user has an application specified?
 if (!empty($_GET['app'])) {
        // Set the application from string
@@ -78,9 +82,5 @@ if (is_dir(sprintf("%sdevel", $cfg->readConfig('base_path')))) {
        ClassLoader::getInstance()->loadClasses('devel');
 }
 
-// Shall we include additional configs where you can configure some things? Then
-// Load matching config
-ClassLoader::getInstance()->loadExtraConfigs();
-
 // [EOF]
 ?>