[TEMP] Removed Http class (#748)

This commit is contained in:
Roman Kelesidis 2023-05-31 20:33:50 +07:00 committed by GitHub
commit 98d683f98a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 58 deletions

View file

@ -446,7 +446,7 @@ if (
* Exit if board is disabled via trigger
*/
if (($bb_cfg['board_disable'] || file_exists(BB_DISABLED)) && !defined('IN_ADMIN') && !defined('IN_AJAX') && !defined('IN_LOGIN')) {
\TorrentPier\Common\Http::statusCode(503);
header('HTTP/1.0 503 Service Unavailable');
if ($bb_cfg['board_disable']) {
// admin lock
send_no_cache_headers();