]> git.mxchange.org Git - admin.git/commitdiff
Web output instance added
authorRoland Häder <roland@mxchange.org>
Fri, 21 Aug 2009 17:43:57 +0000 (17:43 +0000)
committerRoland Häder <roland@mxchange.org>
Fri, 21 Aug 2009 17:43:57 +0000 (17:43 +0000)
application/admin/class_ApplicationHelper.php

index de494770d49a572610aba91d5cbf7ec355fa1c88..a0c7962748a06e106b0ce240c91103d7bad65a24 100644 (file)
@@ -172,15 +172,21 @@ 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');
 
                // Remember request instance here
                $this->setRequestInstance($requestInstance);
 
-               // Default response is HTTP (HTML page) and type is "Web"
-               $response = "http";
-               $responseType = "web";
+               // Default response is HTTP (HTML page) and type is 'Web'
+               $response = 'http';
+               $responseType = 'web';
 
                // Do we have another response?
                if ($requestInstance->isRequestElementSet('request')) {