Cron subsystem rework. Environments.

This commit is contained in:
Yuriy Pikhtarev 2017-06-10 03:11:10 +03:00
commit 18aeb3e9d5
No known key found for this signature in database
GPG key ID: 3A9B5A757B48ECC6
91 changed files with 865 additions and 834 deletions

View file

@ -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']);
}
//