]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/resolver/action/web/class_WebActionResolver.php
Copyright upgraded to 2010
[core.git] / inc / classes / main / resolver / action / web / class_WebActionResolver.php
index 4f963db028e74d7247491249c6419a73515db772..a7bcc685ca3b966e344180398ef6df46dc23ac5c 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, 2010 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
@@ -89,7 +89,7 @@ class WebActionResolver extends BaseActionResolver implements ActionResolver {
                $actionName = $requestInstance->getRequestElement('action');
 
                // Is the action empty? Then fall back to default action
-               if (empty($actionName)) $actionName = $this->getConfigInstance()->readConfig('default_action');
+               if (empty($actionName)) $actionName = $this->getConfigInstance()->getConfigEntry('default_action');
 
                // Check if action is valid
                if ($this->isActionValid($actionName) === false) {
@@ -127,7 +127,7 @@ class WebActionResolver extends BaseActionResolver implements ActionResolver {
                $actionName = $this->getActionName();
 
                // Is the action empty? Then fall back to default action
-               if (empty($actionName)) $actionName = $this->getConfigInstance()->readConfig('default_action');
+               if (empty($actionName)) $actionName = $this->getConfigInstance()->getConfigEntry('default_action');
 
                // Check if action is valid
                if ($this->isActionValid($actionName) === false) {