Permalink
Browse files

[Env Mode] Send 503 HTTP status by default if other modes than mentioned

  • Loading branch information...
pH-7 committed Jan 20, 2019
1 parent 972376b commit 5a8fa89e4c1b7d08e40357a62f1284672c2a20c6
Showing with 1 addition and 0 deletions.
  1. +1 −0 index.php
@@ -43,6 +43,7 @@
break;
default:
header('HTTP/1.1 503 Service Unavailable.', TRUE, 503);
exit('The application environment is not set correctly.');
}
}

0 comments on commit 5a8fa89

Please sign in to comment.