mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Bring back BB_CFG_LOADED
This commit is contained in:
parent
cc9108e3f6
commit
5f49dd4ba1
@ -578,3 +578,5 @@ $bb_cfg['nofollow'] = array(
|
|||||||
'disabled' => false,
|
'disabled' => false,
|
||||||
'allowed_url' => array($domain_name), // 'allowed.site', 'www.allowed.site'
|
'allowed_url' => array($domain_name), // 'allowed.site', 'www.allowed.site'
|
||||||
);
|
);
|
||||||
|
|
||||||
|
define('BB_CFG_LOADED', true);
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
if (!defined('BB_ROOT')) die(basename(__FILE__));
|
if (!defined('BB_ROOT')) die(basename(__FILE__));
|
||||||
if (!(PHP_VERSION_ID >= 50303)) die('TorrentPier II requires PHP version 5.3.3+. Your PHP version '. PHP_VERSION);
|
if (!(PHP_VERSION_ID >= 50303)) die('TorrentPier II requires PHP version 5.3.3+. Your PHP version '. PHP_VERSION);
|
||||||
|
if (!defined('BB_CFG_LOADED')) trigger_error('File config.php not loaded', E_USER_ERROR);
|
||||||
|
|
||||||
// Define some basic configuration arrays
|
// Define some basic configuration arrays
|
||||||
unset($stopwords, $synonyms_match, $synonyms_replace);
|
unset($stopwords, $synonyms_match, $synonyms_replace);
|
||||||
|
Loading…
Reference in New Issue
Block a user