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>
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');