More style convensions applied, interface updated
[shipsimu.git] / inc / classes / main / resolver / web / class_WebControllerResolver.php
index 788a03c2cc73fb58f26f6c2889033c7419aa4401..fe03162bdf05f43df91318d008407a043b6f577f 100644 (file)
@@ -141,7 +141,7 @@ class WebControllerResolver extends BaseResolver implements ControllerResolver {
                 //
 
                // Cache default command
-               $defaultCommand = $this->getConfigInstance()->readConfig("default_command");
+               $defaultCommand = $this->getConfigInstance()->readConfig('default_command');
 
                // Init controller instance
                $controllerInstance = null;
@@ -155,7 +155,7 @@ class WebControllerResolver extends BaseResolver implements ControllerResolver {
                        $class = sprintf("Web%sController",
                                $this->convertToClassName($commandName)
                        );
-               } elseif ($this->getConfigInstance()->readConfig("home_with_news") == "Y") {
+               } elseif ($this->getConfigInstance()->readConfig('home_with_news') == "Y") {
                        // Yes, display news in home then set default controller with news
                        $class = "WebDefaultNewsController";
                } else {