mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
Added missing !defined('BB_ROOT') check (#917)
This commit is contained in:
parent
0751633311
commit
4929a75179
1 changed files with 4 additions and 0 deletions
|
@ -7,6 +7,10 @@
|
|||
* @license https://github.com/torrentpier/torrentpier/blob/master/LICENSE MIT License
|
||||
*/
|
||||
|
||||
if (!defined('BB_ROOT')) {
|
||||
die(basename(__FILE__));
|
||||
}
|
||||
|
||||
if (!$bb_cfg['topic_notify_enabled']) {
|
||||
bb_die($lang['DISABLED']);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue