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 a827ed6..113fae8 100644 (file)
@@ -153,8 +153,8 @@ class ApplicationHelper extends BaseFrameworkSystem implements ManageableApplica
                Registry::getRegistry()->addInstance('app', $this);
 
                // Default response is console
                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');
 
                // Create a new request object
                $requestInstance = ObjectFactory::createObjectByName($this->convertToClassName($response) . 'Request');