mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
removed redundant error strings
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@49915 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
6966328cd5
commit
24bd071767
@ -151,13 +151,13 @@ class Debug {
|
||||
header("HTTP/1.0 500 Internal server error");
|
||||
|
||||
if(Director::is_ajax()) {
|
||||
echo "ERROR:There has been an error";
|
||||
echo "There has been an error";
|
||||
|
||||
} else {
|
||||
if(file_exists('../assets/error-500.html')) {
|
||||
include('../assets/error-500.html');
|
||||
} else {
|
||||
echo "ERROR:<h1>Error</h1><p>The website server has not been able to respond to your request.</p>\n";
|
||||
echo "<h1>Error</h1><p>The website server has not been able to respond to your request.</p>\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user