From: Roland Haeder Date: Tue, 24 Mar 2015 18:21:57 +0000 (+0100) Subject: Output system is now no longer initialized by loading a centralized X-Git-Url: https://git.mxchange.org/?p=core.git;a=commitdiff_plain;h=9fc1e70b93d70fd72429c9d1d5393d9afdc59a89;hp=344b971be78972ee5ff0e8298ec7dbd2a193ac12 Output system is now no longer initialized by loading a centralized 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 --- diff --git a/application/tests/class_ApplicationHelper.php b/application/tests/class_ApplicationHelper.php index a827ed6c..113fae8d 100644 --- a/application/tests/class_ApplicationHelper.php +++ b/application/tests/class_ApplicationHelper.php @@ -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');