should be more encapsulated (abstracted)
[core.git] / inc / language.php
index 30a3575128c1ba0cbc8c33db42cfad6863081df9..38ae358d5dac9ce8d6babb1133578fdf79120f48 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007 - 2009 Roland Haeder, this is free software
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  *
  * This program is free software: you can redistribute it and/or modify
@@ -23,8 +23,8 @@
 
 // Try to instance the language system
 $lang = LanguageSystem::createLanguageSystem(
-       $cfg->readConfig('base_path').
-       FrameworkConfiguration::getInstance()->readConfig('lang_base_path')
+       FrameworkConfiguration::getInstance()->getConfigEntry('base_path').
+       FrameworkConfiguration::getInstance()->getConfigEntry('lang_base_path')
 );
 
 // Is the app variable there and valid?