Added missing !defined('BB_ROOT') check (#274)

* Added missing !defined('BB_ROOT') check

* Update CHANGELOG.md
This commit is contained in:
Roman Kelesidis 2023-09-26 17:05:17 +07:00 committed by GitHub
parent 8050321837
commit f7a0202730
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -6,6 +6,7 @@
**Merged pull requests:**
- Release v2.1.5-2023.09 🎉
- Added missing !defined('BB_ROOT') check [\#274](https://github.com/torrentpier/torrentpier-lts/pull/274) ([belomaxorka](https://github.com/belomaxorka))
- Exclude padding files [\#260](https://github.com/torrentpier/torrentpier-lts/pull/260) ([belomaxorka](https://github.com/belomaxorka), [kovalensky](https://github.com/kovalensky))
- Added missing translation in admin_ug_auth [\#254](https://github.com/torrentpier/torrentpier-lts/pull/254) ([belomaxorka](https://github.com/belomaxorka))
- Support for IDN domains [\#252](https://github.com/torrentpier/torrentpier-lts/pull/252) ([belomaxorka](https://github.com/belomaxorka), [kovalensky](https://github.com/kovalensky))

View File

@ -1,5 +1,7 @@
<?php
if (!defined('BB_ROOT')) die(basename(__FILE__));
if (!$bb_cfg['topic_notify_enabled'])
{
bb_die($lang['DISABLED']);