From: Roland Häder Date: Fri, 21 Aug 2009 18:01:50 +0000 (+0000) Subject: Updated to latest core changes X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=commitdiff_plain;h=e4b5d222d7d56fd54ade5fbd0dca83e08522fd45;hp=301d5f44f5a4e8a91d3871874387639fac53d1e4 Updated to latest core changes --- diff --git a/application/mxchange/class_ApplicationHelper.php b/application/mxchange/class_ApplicationHelper.php index 346a848fd6..538829ba5d 100644 --- a/application/mxchange/class_ApplicationHelper.php +++ b/application/mxchange/class_ApplicationHelper.php @@ -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); }