]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/resolver/action/web/class_WebActionResolver.php
readConfig() is not naming convention, renamed to getConfigEntry()
[core.git] / inc / classes / main / resolver / action / web / class_WebActionResolver.php
index 55779b27bcc759bebee9745a8c4e26bb8b770064..2118ba7701c2e9f6bba9d0548a959fffef74d9e3 100644 (file)
@@ -85,11 +85,11 @@ class WebActionResolver extends BaseActionResolver implements ActionResolver {
                $actionName = '';
                $actionInstance = null;
 
-               // This goes fine so let's resolv the action
+               // This goes fine so let's resolve the action
                $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) {