summaryrefslogtreecommitdiff
path: root/classes/Config.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/Config.php')
-rw-r--r--classes/Config.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/classes/Config.php b/classes/Config.php
index 72d6c5106..2c2cd4d65 100644
--- a/classes/Config.php
+++ b/classes/Config.php
@@ -643,7 +643,9 @@ class Config {
}
}
- if (count($errors) > 0 && php_sapi_name() != "cli") { ?>
+ if (count($errors) > 0 && php_sapi_name() != "cli") {
+ http_response_code(503); ?>
+
<!DOCTYPE html>
<html>
<head>