replacing reference to new DebugView in error reporting method

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@55819 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Mark Rickerby 2008-06-06 05:13:18 +00:00
parent 4619d7d466
commit a0f664bf25

View File

@ -205,7 +205,7 @@ class Debug {
echo "ERROR:Error $errno: $errstr\n At l$errline in $errfile\n"; echo "ERROR:Error $errno: $errstr\n At l$errline in $errfile\n";
Debug::backtrace(); Debug::backtrace();
} else { } else {
$reporter = new DebugReporter(); $reporter = new DebugView();
$reporter->writeHeader(); $reporter->writeHeader();
echo '<div class="info">'; echo '<div class="info">';
echo "<h1>" . strip_tags($errstr) . "</h1>"; echo "<h1>" . strip_tags($errstr) . "</h1>";