X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Foutput%2Fclass_ConsoleOutput.php;h=3fc2bcc01f9a73e309ae7afd4dc8ba4bb1917623;hp=6a3e88f7b9c502df8394bebdf9a1308b79f5bbee;hb=768cc231b262ebeaa5aec373d9b7d97cc6b6ac95;hpb=3e1fbf30a631cf1cd64562b69228452c49e0033f diff --git a/inc/classes/main/output/class_ConsoleOutput.php b/inc/classes/main/output/class_ConsoleOutput.php index 6a3e88f7..3fc2bcc0 100644 --- a/inc/classes/main/output/class_ConsoleOutput.php +++ b/inc/classes/main/output/class_ConsoleOutput.php @@ -72,7 +72,7 @@ class ConsoleOutput extends BaseFrameworkSystem implements OutputStreamer { public static final function getInstance() { // Is the self-instance already set? if (is_null(self::$consoleInstance)) { - $contentType = FrameworkConfiguration::getInstance()->getConfigEntry('web_content_type'); + $contentType = FrameworkConfiguration::getSelfInstance()->getConfigEntry('web_content_type'); self::$consoleInstance = ConsoleOutput::createConsoleOutput($contentType); } // END - if @@ -87,7 +87,7 @@ class ConsoleOutput extends BaseFrameworkSystem implements OutputStreamer { * @return void */ public final function output ($outStream = false) { - print trim($outStream) . "\n"; + print trim($outStream) . chr(10); } }