correct server error output
darcs-hash:20080602193851-84dde-069af77a95bc89271b75b7e0c7ff965fefa1de34.gz
This commit is contained in:
@@ -22,10 +22,11 @@
|
||||
# Show a server error
|
||||
|
||||
function common_server_error($msg) {
|
||||
header('Status: 500 Server Error');
|
||||
header('HTTP/1.1 500 Server Error');
|
||||
header('Content-type: text/plain');
|
||||
|
||||
print $msg;
|
||||
print "\n";
|
||||
exit();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user