]> git.mxchange.org Git - shipsimu.git/blobdiff - inc/classes/main/debug/class_DebugWebOutput.php
A lot rewrites and fixes for weak redirect methods
[shipsimu.git] / inc / classes / main / debug / class_DebugWebOutput.php
index 353ccacbe486fa3b0f120ddb8d65aa448fd4b44a..433f68e8b66d3505b622dcb12ad2900217ce7d21 100644 (file)
@@ -30,12 +30,6 @@ class DebugWebOutput extends BaseFrameworkSystem implements Debugger, OutputStre
        protected function __construct () {
                // Call parent constructor
                parent::__construct(__CLASS__);
-
-               // Set description
-               $this->setObjectDescription("Debug output for webpages");
-
-               // Create an unique ID
-               $this->generateUniqueId();
        }
 
        /**
@@ -60,7 +54,7 @@ class DebugWebOutput extends BaseFrameworkSystem implements Debugger, OutputStre
        public final function outputStream ($output) {
                // Strip out <br />
                $output = str_replace("<br />", "", $output);
-               print($output."<br />\n");
+               print(stripslashes($output)."<br />\n");
        }
 
        /**