mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 22:03:49 -07:00
parent
59aa4f069f
commit
b740a5465a
1 changed files with 7 additions and 5 deletions
|
@ -81,11 +81,13 @@ class Ajax
|
||||||
}
|
}
|
||||||
|
|
||||||
// Exit if board is disabled via ON/OFF trigger or by admin
|
// Exit if board is disabled via ON/OFF trigger or by admin
|
||||||
if ($action_params[1] !== true) {
|
if ($bb_cfg['board_disable'] || file_exists(BB_DISABLED)) {
|
||||||
if ($bb_cfg['board_disable']) {
|
if ($action_params[1] !== true) {
|
||||||
$this->ajax_die($lang['BOARD_DISABLE']);
|
if ($bb_cfg['board_disable']) {
|
||||||
} elseif (file_exists(BB_DISABLED)) {
|
$this->ajax_die($lang['BOARD_DISABLE']);
|
||||||
$this->ajax_die($lang['BOARD_DISABLE_CRON']);
|
} elseif (file_exists(BB_DISABLED)) {
|
||||||
|
$this->ajax_die($lang['BOARD_DISABLE_CRON']);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue