mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 05:43:55 -07:00
Merge pull request #159 from diolektor/fix-db-in-anounce
#157. Fix Error in GET /bt/announce.php
This commit is contained in:
commit
e87f1beff0
2 changed files with 1 additions and 1 deletions
|
@ -102,6 +102,7 @@ define('BOT_UID', -746);
|
||||||
*/
|
*/
|
||||||
// Core DB class
|
// Core DB class
|
||||||
require CORE_DIR . '/dbs.php';
|
require CORE_DIR . '/dbs.php';
|
||||||
|
require CORE_DIR . '/mysql.php';
|
||||||
$DBS = new DBS($bb_cfg);
|
$DBS = new DBS($bb_cfg);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -455,7 +455,6 @@ function make_url($path = '')
|
||||||
require INC_DIR . '/functions.php';
|
require INC_DIR . '/functions.php';
|
||||||
require INC_DIR . '/sessions.php';
|
require INC_DIR . '/sessions.php';
|
||||||
require INC_DIR . '/template.php';
|
require INC_DIR . '/template.php';
|
||||||
require CORE_DIR . '/mysql.php';
|
|
||||||
|
|
||||||
define('SQL_LAYER', 'mysql');
|
define('SQL_LAYER', 'mysql');
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue