]> git.mxchange.org Git - core.git/commitdiff
Even more renamed 'web' -> 'html'
authorRoland Haeder <roland@mxchange.org>
Mon, 23 Mar 2015 15:04:36 +0000 (16:04 +0100)
committerRoland Haeder <roland@mxchange.org>
Mon, 23 Mar 2015 15:04:36 +0000 (16:04 +0100)
Signed-off-by: Roland Häder <roland@mxchange.org>
inc/classes/main/resolver/command/web/class_
inc/classes/main/resolver/command/web/class_WebCommandResolver.php
inc/classes/main/response/html/class_HtmlResponse.php

index 8a9db58ef562fc95715d49a1a9fe20df315d96a2..d96768ab8700e772025b01df3abbda58f6cf4f7d 100644 (file)
@@ -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()->getConfigEntry('default_web_command');
+               if (empty($commandName)) $commandName = $this->getConfigInstance()->getConfigEntry('default_html_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()->getConfigEntry('default_web_command');
+               if (empty($commandName)) $commandName = $this->getConfigInstance()->getConfigEntry('default_html_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()->getConfigEntry('default_web_command');
+               $defaultCommand = $this->getConfigInstance()->getConfigEntry('default_html_command');
 
                // Init command instance
                $commandInstance = null;
index f6a5af926ee075d45ff74db9f3051774b9b1b161..0ee2764d4b1e9aa04a998625439072f77c85a73a 100644 (file)
@@ -90,7 +90,7 @@ class WebCommandResolver extends BaseCommandResolver implements CommandResolver
 
                // Is the command empty? Then fall back to default command
                if (empty($commandName)) {
-                       $commandName = $this->getConfigInstance()->getConfigEntry('default_web_command');
+                       $commandName = $this->getConfigInstance()->getConfigEntry('default_html_command');
                } // END - if
 
                // Check if command is valid
@@ -128,7 +128,7 @@ class WebCommandResolver extends BaseCommandResolver implements CommandResolver
 
                // Is the command empty? Then fall back to default command
                if (empty($commandName)) {
-                       $commandName = $this->getConfigInstance()->getConfigEntry('default_web_command');
+                       $commandName = $this->getConfigInstance()->getConfigEntry('default_html_command');
                } // END - if
 
                // Check if command is valid
index 80b50e88364a4a7ab1a1a66037bd1645f66c9b2a..4a3da75b7535f20374e519730f2288386ffd685f 100644 (file)
@@ -209,7 +209,7 @@ class HtmlResponse extends BaseResponse implements Responseable {
         * @return      $defaultCommand         Default command for this response
         */
        public function getDefaultCommand () {
-               $defaultCommand = $this->getConfigInstance()->getConfigEntry('default_web_command');
+               $defaultCommand = $this->getConfigInstance()->getConfigEntry('default_html_command');
                return $defaultCommand;
        }
 }