From: Roland Häder Date: Fri, 21 Aug 2009 17:47:34 +0000 (+0000) Subject: Moved to better place X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=87e3c5e288d0bf62b127bfd145936dea53bf72d8;p=install.git Moved to better place --- diff --git a/application/install/class_ApplicationHelper.php b/application/install/class_ApplicationHelper.php index bde6423..7a1611b 100644 --- a/application/install/class_ApplicationHelper.php +++ b/application/install/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'); + + // Set it in this application + $this->setWebOutputInstance($outputInstance); + // Handle the request $this->controllerInstance->handleRequest($requestInstance, $responseInstance); }