mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
fix: Null $bb_cfg['tp_instance_hash']
(#1790)
This commit is contained in:
parent
9eb0aede73
commit
602137b651
2 changed files with 3 additions and 3 deletions
|
@ -397,7 +397,7 @@ $userdata =& $user->data;
|
|||
/**
|
||||
* Some shared defines
|
||||
*/
|
||||
define('TP_INSTANCE_HASH', $bb_cfg['tp_instance_hash']);
|
||||
define('TP_INSTANCE_HASH', !empty($bb_cfg['tp_instance_hash']) ? $bb_cfg['tp_instance_hash'] : '');
|
||||
|
||||
/**
|
||||
* Cron
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue