]> git.mxchange.org Git - install.git/commitdiff
Moved to better place
authorRoland Häder <roland@mxchange.org>
Fri, 21 Aug 2009 17:47:34 +0000 (17:47 +0000)
committerRoland Häder <roland@mxchange.org>
Fri, 21 Aug 2009 17:47:34 +0000 (17:47 +0000)
application/install/class_ApplicationHelper.php

index bde64234336fd62020bfc9f164706df804606be1..7a1611b2a6956dbc561fac592a318e64aeee0537 100644 (file)
@@ -172,12 +172,6 @@ class ApplicationHelper extends BaseApplication implements ManageableApplication
         * @return      void
         */
        public final function entryPoint () {
-               // Get a web output class
-               $outputInstance = ObjectFactory::createObjectByConfiguredName('output_class');
-
-               // Set it in this application
-               $this->setWebOutputInstance($outputInstance);
-
                // Create a new request object
                $requestInstance = ObjectFactory::createObjectByName('HttpRequest');
 
@@ -221,6 +215,12 @@ class ApplicationHelper extends BaseApplication implements ManageableApplication
                // Get a controller instance as well
                $this->controllerInstance = $resolverInstance->resolveController();
 
+               // Get a web output class
+               $outputInstance = ObjectFactory::createObjectByConfiguredName('output_class');
+
+               // Set it in this application
+               $this->setWebOutputInstance($outputInstance);
+
                // Handle the request
                $this->controllerInstance->handleRequest($requestInstance, $responseInstance);
        }