mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 02:15:19 +00:00
Report correct HTTP error code, i.e. for API callers.
This commit is contained in:
parent
d9ddf7561f
commit
f164ddf155
1 changed files with 1 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
<?php /** @file */
|
||||
|
||||
function system_down() {
|
||||
header('HTTP/1.0 503 Service Unavailable');
|
||||
echo <<< EOT
|
||||
<html>
|
||||
<head><title>System Unavailable</title></head>
|
||||
|
|
Loading…
Reference in a new issue