]> git.mxchange.org Git - shipsimu.git/blobdiff - application/selector/data.php
More NPEs catched (TODO: Should be rewritten)
[shipsimu.git] / application / selector / data.php
index 29d47efdcc0f80c26f5c2c6b5e3f24e65ee1ee4a..99b3159c417214d3006c160795b5b5682cdfe7e4 100644 (file)
@@ -7,7 +7,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, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
@@ -30,14 +30,14 @@ $cfg = FrameworkConfiguration::getInstance();
 
 // Get an instance of the helper
 $app = call_user_func_array(
-       array($cfg->readConfig('app_helper_class'), "getInstance"),
+       array($cfg->getConfigEntry('app_helper_class'), 'getInstance'),
        array()
 );
 
 // Set application name and version
 $app->setAppName("Applikationsausw&auml;hler");
 $app->setAppVersion("0.1a");
-$app->setAppShortName($cfg->readConfig('selector_name'));
+$app->setAppShortName($cfg->getConfigEntry('selector_name'));
 
 // [EOF]
 ?>