Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- switch ($this->Debugoutput) {
- case 'error_log':
- //Don't output, just log
- error_log($str);
- break;
- case 'html':
- //Cleans up output a bit for a better looking, HTML-safe output
- echo htmlentities(
- preg_replace('/[\r\n]+/', '', $str),
- ENT_QUOTES,
- 'UTF-8'
- )
- . "<br>\n";
- break;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement