]> git.mxchange.org Git - core.git/commitdiff
Output system is now no longer initialized by loading a centralized
authorRoland Haeder <roland@mxchange.org>
Tue, 24 Mar 2015 18:21:57 +0000 (19:21 +0100)
committerRoland Haeder <roland@mxchange.org>
Tue, 24 Mar 2015 18:21:57 +0000 (19:21 +0100)
inc/output.php as this was a stupid idea and sometimes the same application
has a console and web part.

Signed-off-by: Roland Häder <roland@mxchange.org>
application/tests/class_ApplicationHelper.php

index a827ed6ce8aec217cd694c982b750a030f27bd8c..113fae8d913b84dfb5600f13a850edd0b92c1da4 100644 (file)
@@ -153,8 +153,8 @@ class ApplicationHelper extends BaseFrameworkSystem implements ManageableApplica
                Registry::getRegistry()->addInstance('app', $this);
 
                // Default response is console
-               $response = $this->getResponseTypeFromSystem();
-               $responseType = $this->getResponseTypeFromSystem();
+               $response = self::getResponseTypeFromSystem();
+               $responseType = self::getResponseTypeFromSystem();
 
                // Create a new request object
                $requestInstance = ObjectFactory::createObjectByName($this->convertToClassName($response) . 'Request');