summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-06-02 15:38:51 -0400
committerEvan Prodromou <evan@prodromou.name>2008-06-02 15:38:51 -0400
commit1de5328c49e8c438106bf5ad8319ef1c08a96a28 (patch)
tree1c01e180464099e1e78742cfdc1d4510f07d9210 /lib
parentbde49e2c520d1606c42cc6f3deef7416ac340eb9 (diff)
correct server error output
darcs-hash:20080602193851-84dde-069af77a95bc89271b75b7e0c7ff965fefa1de34.gz
Diffstat (limited to 'lib')
-rw-r--r--lib/util.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php
index 59f0aa10f..de15d13de 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -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();
}