mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
parent
4619d7d466
commit
a0f664bf25
@ -205,7 +205,7 @@ class Debug {
|
||||
echo "ERROR:Error $errno: $errstr\n At l$errline in $errfile\n";
|
||||
Debug::backtrace();
|
||||
} else {
|
||||
$reporter = new DebugReporter();
|
||||
$reporter = new DebugView();
|
||||
$reporter->writeHeader();
|
||||
echo '<div class="info">';
|
||||
echo "<h1>" . strip_tags($errstr) . "</h1>";
|
||||
|
Loading…
Reference in New Issue
Block a user