mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
Cron subsystem rework. Environments.
This commit is contained in:
parent
d9060d55d9
commit
18aeb3e9d5
91 changed files with 865 additions and 834 deletions
|
@ -27,11 +27,11 @@ if (!defined('IN_TRACKER')) {
|
|||
die(basename(__FILE__));
|
||||
}
|
||||
|
||||
global $tr_cfg;
|
||||
global $bb_cfg;
|
||||
|
||||
// Exit if tracker is disabled
|
||||
if ($tr_cfg['off']) {
|
||||
msg_die($tr_cfg['off_reason']);
|
||||
if ($bb_cfg['tracker']['off']) {
|
||||
msg_die($bb_cfg['tracker']['off_reason']);
|
||||
}
|
||||
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue