mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update ajax.php
This commit is contained in:
parent
ae4bcd4bfd
commit
4edd0fff52
10
ajax.php
10
ajax.php
@ -142,14 +142,14 @@ class ajax_common
|
||||
// Exit if board is disabled via ON/OFF trigger or by admin
|
||||
if ($bb_cfg['board_disable'] || file_exists(BB_DISABLED))
|
||||
{
|
||||
if ($bb_cfg['board_disable'])
|
||||
{
|
||||
if (!DBG_USER) $this->ajax_die($lang['BOARD_DISABLE']);
|
||||
}
|
||||
else if (file_exists(BB_DISABLED))
|
||||
if (file_exists(BB_DISABLED))
|
||||
{
|
||||
$this->ajax_die($lang['BOARD_DISABLE_CRON']);
|
||||
}
|
||||
else if ($bb_cfg['board_disable'] && !DBG_USER)
|
||||
{
|
||||
$this->ajax_die($lang['BOARD_DISABLE']);
|
||||
}
|
||||
|
||||
// Старый вариант
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user