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
e5c433a3dd
commit
326208e7d1
13
ajax.php
13
ajax.php
@ -151,19 +151,16 @@ class ajax_common
|
|||||||
$this->ajax_die($lang['BOARD_DISABLE']);
|
$this->ajax_die($lang['BOARD_DISABLE']);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Старый вариант
|
// Старый вариант (С выбором определенных скриптов, которые будут доступны всем при выключенном форуме)
|
||||||
//
|
//
|
||||||
// if (!isset($action_params[AJAX_ALWAYS_ACTIVE]) || $action_params[AJAX_ALWAYS_ACTIVE] === false)
|
|
||||||
// {
|
|
||||||
// if ($bb_cfg['board_disable'])
|
|
||||||
// {
|
|
||||||
// $this->ajax_die($lang['BOARD_DISABLE']);
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// if (file_exists(BB_DISABLED))
|
// if (file_exists(BB_DISABLED))
|
||||||
// {
|
// {
|
||||||
// $this->ajax_die($lang['BOARD_DISABLE_CRON']);
|
// $this->ajax_die($lang['BOARD_DISABLE_CRON']);
|
||||||
// }
|
// }
|
||||||
|
// else if ($bb_cfg['board_disable'] && (!isset($action_params[AJAX_ALWAYS_ACTIVE]) || $action_params[AJAX_ALWAYS_ACTIVE] === false))
|
||||||
|
// {
|
||||||
|
// $this->ajax_die($lang['BOARD_DISABLE']);
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
// Auth check
|
// Auth check
|
||||||
|
Loading…
Reference in New Issue
Block a user