mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update common.php
This commit is contained in:
parent
95a4982ecd
commit
db7b27950f
@ -26,13 +26,14 @@ if (isset($_SERVER['HTTP_CF_CONNECTING_IP']))
|
||||
}
|
||||
|
||||
// Get initial config
|
||||
require_once(BB_ROOT . 'library/config.php');
|
||||
|
||||
// Local config
|
||||
if (is_file(BB_ROOT . 'library/config.local.php'))
|
||||
if (file_exists(BB_ROOT . 'library/config.local.php'))
|
||||
{
|
||||
require_once(BB_ROOT . 'library/config.local.php');
|
||||
}
|
||||
else
|
||||
{
|
||||
require_once(BB_ROOT . 'library/config.php');
|
||||
}
|
||||
|
||||
// Load Zend Framework
|
||||
use Zend\Loader\StandardAutoloader;
|
||||
|
Loading…
Reference in New Issue
Block a user