mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Minor improvements (#218)
This commit is contained in:
parent
4d0a2692b7
commit
e32b20464c
@ -6,7 +6,7 @@
|
||||
**Merged pull requests:**
|
||||
|
||||
- Release v2.1.5-2023.08 🎉
|
||||
- Minor improvements [\#215](https://github.com/torrentpier/torrentpier-lts/pull/215), [\#216](https://github.com/torrentpier/torrentpier-lts/pull/216), [\#217](https://github.com/torrentpier/torrentpier-lts/pull/217) ([belomaxorka](https://github.com/belomaxorka))
|
||||
- Minor improvements [\#215](https://github.com/torrentpier/torrentpier-lts/pull/215), [\#216](https://github.com/torrentpier/torrentpier-lts/pull/216), [\#217](https://github.com/torrentpier/torrentpier-lts/pull/217), [\#218](https://github.com/torrentpier/torrentpier-lts/pull/218) ([belomaxorka](https://github.com/belomaxorka))
|
||||
|
||||
## [v2.1.5-2023.07](https://github.com/torrentpier/torrentpier-lts/tree/v2.1.5-2023.07) (2023-08-04)
|
||||
[Full Changelog](https://github.com/torrentpier/torrentpier-lts/compare/v2.1.5-2023.06...v2.1.5-2023.07)
|
||||
|
@ -26,7 +26,13 @@ if (isset($_SERVER['HTTP_CF_CONNECTING_IP']))
|
||||
}
|
||||
|
||||
// Get initial config
|
||||
require(BB_ROOT . 'library/config.php');
|
||||
require_once(BB_ROOT . 'library/config.php');
|
||||
|
||||
// Local config
|
||||
if (is_file(BB_ROOT . '/library/config.local.php'))
|
||||
{
|
||||
require_once(BB_ROOT . '/library/config.local.php');
|
||||
}
|
||||
|
||||
// Load Zend Framework
|
||||
use Zend\Loader\StandardAutoloader;
|
||||
|
@ -578,11 +578,3 @@ $bb_cfg['nofollow'] = array(
|
||||
'disabled' => false,
|
||||
'allowed_url' => array($domain_name), // 'allowed.site', 'www.allowed.site'
|
||||
);
|
||||
|
||||
// Local config
|
||||
if (file_exists(BB_ROOT. '/library/config.local.php'))
|
||||
{
|
||||
include_once(BB_ROOT. '/library/config.local.php');
|
||||
}
|
||||
|
||||
define('BB_CFG_LOADED', true);
|
||||
|
@ -2,7 +2,6 @@
|
||||
|
||||
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 (!defined('BB_CFG_LOADED')) trigger_error('File config.php not loaded', E_USER_ERROR);
|
||||
|
||||
// Define some basic configuration arrays
|
||||
unset($stopwords, $synonyms_match, $synonyms_replace);
|
||||
|
Loading…
Reference in New Issue
Block a user