Copyright updated
[core.git] / inc / classes / main / resolver / command / web / class_
index 57955f976afaf0e613d176b1a60b65a325675ba4..18082a2a11e5e7186333a4a52174ffd68f0e6ca6 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2011 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
@@ -89,7 +89,7 @@ class Web???CommandResolver extends BaseCommandResolver implements CommandResolv
                $commandName = $requestInstance->getRequestElement('page');
 
                // Is the command empty? Then fall back to default command
-               if (empty($commandName)) $commandName = $this->getConfigInstance()->readConfig('default_web_command');
+               if (empty($commandName)) $commandName = $this->getConfigInstance()->getConfigEntry('default_web_command');
 
                // Check if the command is valid
                if ($this->isCommandValid($commandName) === false) {
@@ -125,7 +125,7 @@ class Web???CommandResolver extends BaseCommandResolver implements CommandResolv
                $commandInstance = null;
 
                // Is the command empty? Then fall back to default command
-               if (empty($commandName)) $commandName = $this->getConfigInstance()->readConfig('default_web_command');
+               if (empty($commandName)) $commandName = $this->getConfigInstance()->getConfigEntry('default_web_command');
 
                // Check if the command is valid
                if ($this->isCommandValid($commandName) === false) {
@@ -150,7 +150,7 @@ class Web???CommandResolver extends BaseCommandResolver implements CommandResolv
         */
        private function loadCommand ($commandName) {
                // Cache default command
-               $defaultCommand = $this->getConfigInstance()->readConfig('default_web_command');
+               $defaultCommand = $this->getConfigInstance()->getConfigEntry('default_web_command');
 
                // Init command instance
                $commandInstance = null;