mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 14:23:57 -07:00
Local config
This commit is contained in:
parent
d092d8d7f0
commit
5d3561b4e9
1 changed files with 9 additions and 2 deletions
|
@ -59,6 +59,7 @@
|
|||
* Captcha
|
||||
* Atom feed
|
||||
* Nofollow
|
||||
* Local config
|
||||
**/
|
||||
|
||||
if (!defined('BB_ROOT')) die(basename(__FILE__));
|
||||
|
@ -71,8 +72,8 @@ $domain_name = (!empty($_SERVER['SERVER_NAME'])) ? $_SERVER['SERVER_NAME'] : $do
|
|||
|
||||
// Version info
|
||||
$bb_cfg['tp_version'] = '2.1 (RC)';
|
||||
$bb_cfg['tp_release_date'] = '27-08-2014';
|
||||
$bb_cfg['tp_release_state'] = 'R598';
|
||||
$bb_cfg['tp_release_date'] = '30-08-2014';
|
||||
$bb_cfg['tp_release_state'] = 'R599';
|
||||
|
||||
// Database
|
||||
$charset = 'utf8';
|
||||
|
@ -625,4 +626,10 @@ $bb_cfg['nofollow'] = array(
|
|||
'allowed_url' => array($domain_name), // 'allowed.site', 'www.allowed.site'
|
||||
);
|
||||
|
||||
// Local config
|
||||
if (file_exists('config.local.php'))
|
||||
{
|
||||
include_once('config.local.php');
|
||||
}
|
||||
|
||||
define('BB_CFG_LOADED', true);
|
Loading…
Add table
Add a link
Reference in a new issue