Renamed getInstance() to getSelfInstance(), conflicts BaseRegistry versus several...
[shipsimu.git] / application / selector / config.php
index 62cd1b7fe7e00abed985af587d66c308cf709b34..bade6cbef15368bfb0bf9237f52f1e77eb862bf5 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, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
  */
 
 // Get a configuration instance for shorter lines
-$cfg = FrameworkConfiguration::getInstance();
+$cfg = FrameworkConfiguration::getSelfInstance();
 
 // CFG: HEADER-CHARSET
-$cfg->setConfigEntry('header_charset', "utf-8");
+$cfg->setConfigEntry('header_charset', 'utf-8');
 
 // CFG: DEFAULT-WEB-COMMAND
-$cfg->setConfigEntry('default_web_command', "home");
+$cfg->setConfigEntry('default_web_command', 'home');
 
 // CFG: DEFAULT-IMAGE-COMMAND
-$cfg->setConfigEntry('default_image_command', "build");
-
-// CFG: PAGE-WITH-NEWS
-$cfg->setConfigEntry('page_with_news', "home");
+$cfg->setConfigEntry('default_image_command', 'build');
 
 // CFG: FORM-ACTION
-$cfg->setConfigEntry('form_action', "index.php?app={?app_short_name?}&amp;page=do_form");
+$cfg->setConfigEntry('form_action', 'index.php?app={?app_short_name?}&amp;page=do_form');
 
 // CFG: FORM-METHOD
-$cfg->setConfigEntry('form_method', "post");
+$cfg->setConfigEntry('form_method', 'post');
 
 // CFG: FORM-TARGET
-$cfg->setConfigEntry('form_target', "_self");
+$cfg->setConfigEntry('form_target', '_self');
 
 // [EOF]
 ?>