]> git.mxchange.org Git - mailer.git/commitdiff
Updated to latest core changes
authorRoland Häder <roland@mxchange.org>
Fri, 21 Aug 2009 18:01:50 +0000 (18:01 +0000)
committerRoland Häder <roland@mxchange.org>
Fri, 21 Aug 2009 18:01:50 +0000 (18:01 +0000)
application/mxchange/class_ApplicationHelper.php

index 346a848fd6267a3ce78c4520364467322b3a4294..538829ba5d27b5d9f6ac6575938ab0cfffbd0179 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', array($this));
+
+               // Set it in this application
+               $this->setWebOutputInstance($outputInstance);
+
                // Handle the request
                $this->controllerInstance->handleRequest($requestInstance, $responseInstance);
        }