Login and auth classes added. WARNING: All class config entries must end with _class!
[shipsimu.git] / application / ship-simu / class_ApplicationHelper.php
index ef2de33ecda7290a372b2d818506f42b2282ff5f..c8057d44099809b2b8d7a9cef3a2290f51023be6 100644 (file)
@@ -187,16 +187,13 @@ class ApplicationHelper extends BaseFrameworkSystem implements ManageableApplica
                // ... and a new response object
                $responseInstance = HttpResponse::createHttpResponse($this);
 
-               // Get command parameter
-               $commandPara = $this->getConfigInstance()->readConfig('command_parameter');
-
                // Get the parameter from the request
-               $commandName = $requestInstance->getRequestElement($commandPara);
+               $commandName = $requestInstance->getRequestElement("page");
 
                // If it is null then get default command
                if (is_null($commandName)) {
                        $commandName = $this->getConfigInstance()->readConfig('default_command');
-               }
+               } // END - if
 
                // Get a resolver
                $resolverInstance = WebControllerResolver::createWebControllerResolver($commandName, $this);