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:
Mark Rickerby 2008-02-20 23:01:02 +00:00
parent 6966328cd5
commit 24bd071767

View File

@ -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";
}
}
}