mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR Fixed tabbing in Debug
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@84818 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
1494169201
commit
12e54a4a6e
@ -209,7 +209,7 @@ class Debug {
|
|||||||
);
|
);
|
||||||
|
|
||||||
if(Director::isDev()) {
|
if(Director::isDev()) {
|
||||||
self::showError($errno, $errstr, $errfile, $errline, $errcontext, "Notice");
|
self::showError($errno, $errstr, $errfile, $errline, $errcontext, "Notice");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -241,7 +241,7 @@ class Debug {
|
|||||||
self::log_error_if_necessary( $errno, $errstr, $errfile, $errline, $errcontext, "Warning");
|
self::log_error_if_necessary( $errno, $errstr, $errfile, $errline, $errcontext, "Warning");
|
||||||
|
|
||||||
if(Director::isDev()) {
|
if(Director::isDev()) {
|
||||||
self::showError($errno, $errstr, $errfile, $errline, $errcontext, "Warning");
|
self::showError($errno, $errstr, $errfile, $errline, $errcontext, "Warning");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -275,7 +275,6 @@ class Debug {
|
|||||||
|
|
||||||
if(Director::isDev() || Director::is_cli()) {
|
if(Director::isDev() || Director::is_cli()) {
|
||||||
self::showError($errno, $errstr, $errfile, $errline, $errcontext, "Error");
|
self::showError($errno, $errstr, $errfile, $errline, $errcontext, "Error");
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
self::friendlyError();
|
self::friendlyError();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user