From 87e3c5e288d0bf62b127bfd145936dea53bf72d8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 21 Aug 2009 17:47:34 +0000 Subject: [PATCH] Moved to better place --- application/install/class_ApplicationHelper.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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); } -- 2.39.5