]> 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 9c366b6a6022785e778c418d817031a175169967..433f68e8b66d3505b622dcb12ad2900217ce7d21 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright(c) 2007, 2008 Roland Haeder, this is free software
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, this is free software
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
@@ -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");
        }
 
        /**