Renamed getInstance() to getSelfInstance(), conflicts BaseRegistry versus several...
[shipsimu.git] / application / selector / init.php
index 3b9e2db0a998a4b847a9d69f6aafd8845bbe6b27..a77ca0d763da10d8b28100dca7310e618e01cfa7 100644 (file)
@@ -7,7 +7,7 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
  *
  * @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, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
  */
 
 // Get config instance
  */
 
 // Get config instance
-$cfg = FrameworkConfiguration::getInstance();
+$cfg = FrameworkConfiguration::getSelfInstance();
 
 // Initialize output system
 
 // Initialize output system
-require($cfg->readConfig('base_path') . 'inc/output.php');
-
-// Initialize file i/o system
-require($cfg->readConfig('base_path') . 'inc/file_io.php');
-
-// Include the language sub-system
-require($cfg->readConfig('base_path') . 'inc/language.php');
+require($cfg->getConfigEntry('base_path') . 'inc/output.php');
 
 // [EOF]
 ?>
 
 // [EOF]
 ?>