mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
[TEMP] Removed Http class (#748)
This commit is contained in:
parent
56b518d44e
commit
98d683f98a
3 changed files with 1 additions and 58 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue