mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Merge pull request #7 from torrentpier/fix-db-in-anounce
Fix Error in GET /bt/announce.php
This commit is contained in:
commit
f3d85bf72b
@ -67,6 +67,7 @@ define('BOT_UID', -746);
|
||||
*/
|
||||
// Core DB class
|
||||
require(CORE_DIR . 'dbs.php');
|
||||
require(CORE_DIR . 'mysql.php');
|
||||
$DBS = new DBS($bb_cfg);
|
||||
|
||||
function DB ($db_alias = 'db1')
|
||||
|
@ -428,7 +428,6 @@ function make_url ($path = '')
|
||||
require(INC_DIR .'functions.php');
|
||||
require(INC_DIR .'sessions.php');
|
||||
require(INC_DIR .'template.php');
|
||||
require(CORE_DIR .'mysql.php');
|
||||
|
||||
define('SQL_LAYER', 'mysql');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user