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
6021f01f54
commit
ffbeaee720
2
ajax.php
2
ajax.php
@ -142,7 +142,7 @@ class ajax_common
|
|||||||
// 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 ($bb_cfg['board_disable'] || file_exists(BB_DISABLED))
|
if ($bb_cfg['board_disable'] || file_exists(BB_DISABLED))
|
||||||
{
|
{
|
||||||
if ($action_params[AJAX_ALWAYS_ACTIVE] !== true)
|
if (isset($action_params[AJAX_ALWAYS_ACTIVE]) && $action_params[AJAX_ALWAYS_ACTIVE] === false)
|
||||||
{
|
{
|
||||||
if ($bb_cfg['board_disable'])
|
if ($bb_cfg['board_disable'])
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user