projects
/
mailer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Code base synced
[mailer.git]
/
inc
/
classes
/
main
/
debug
/
class_DebugWebOutput.php
diff --git
a/inc/classes/main/debug/class_DebugWebOutput.php
b/inc/classes/main/debug/class_DebugWebOutput.php
index 3eb613382e9b7248d6b22454f0bfb3f7263620f3..433f68e8b66d3505b622dcb12ad2900217ce7d21 100644
(file)
--- a/
inc/classes/main/debug/class_DebugWebOutput.php
+++ b/
inc/classes/main/debug/class_DebugWebOutput.php
@@
-4,9
+4,9
@@
*
* @author Roland Haeder <webmaster@ship-simu.org>
* @version 0.0.0
*
* @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
* @license GNU GPL 3.0 or any newer version
- * @link http://www.ship-simu.org
+ * @link http://www.ship-simu.org
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@
-30,12
+30,6
@@
class DebugWebOutput extends BaseFrameworkSystem implements Debugger, OutputStre
protected function __construct () {
// Call parent constructor
parent::__construct(__CLASS__);
protected function __construct () {
// Call parent constructor
parent::__construct(__CLASS__);
-
- // Set description
- $this->setObjectDescription("Debug output for webpages");
-
- // Create an unique ID
- $this->generateUniqueId();
}
/**
}
/**
@@
-58,7
+52,9
@@
class DebugWebOutput extends BaseFrameworkSystem implements Debugger, OutputStre
* @return void
*/
public final function outputStream ($output) {
* @return void
*/
public final function outputStream ($output) {
- trigger_error($output);
+ // Strip out <br />
+ $output = str_replace("<br />", "", $output);
+ print(stripslashes($output)."<br />\n");
}
/**
}
/**