Configuration class is now fully singleton
[shipsimu.git] / inc / config.php
index 65eba410628777f75095d58f48698c09617c8fdc..a9e58d7a0346e5fb1c3251749d94ba28be021e42 100644 (file)
@@ -30,7 +30,7 @@
 @require_once(dirname(__FILE__) . '/config/class_FrameworkConfiguration.php');
 
 // Get a new configuration instance
-$cfg = FrameworkConfiguration::createFrameworkConfiguration();
+$cfg = FrameworkConfiguration::getInstance();
 
 // CFG: SERVER-PATH
 $cfg->setConfigEntry('base_path', (dirname(dirname(__FILE__)) . '/')); // DON'T MISS THE TRAILING SLASH!!!