From: Roland Häder Date: Fri, 21 Aug 2009 17:47:27 +0000 (+0000) Subject: Moved to better place X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=45c7d3c952acde07f5eb3fe45f31ae65e48ac575;p=admin.git Moved to better place --- diff --git a/application/admin/class_ApplicationHelper.php b/application/admin/class_ApplicationHelper.php index a0c7962..be71d0a 100644 --- a/application/admin/class_ApplicationHelper.php +++ b/application/admin/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); }