mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-21 09:01:15 -04:00
Report correct HTTP error code, i.e. for API callers.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user