Merge pull request #159 from diolektor/fix-db-in-anounce

#157. Fix Error in GET /bt/announce.php
This commit is contained in:
Yuriy Pikhtarev 2017-02-08 21:50:58 +03:00 committed by GitHub
commit e87f1beff0
2 changed files with 1 additions and 1 deletions

View file

@ -102,6 +102,7 @@ define('BOT_UID', -746);
*/
// Core DB class
require CORE_DIR . '/dbs.php';
require CORE_DIR . '/mysql.php';
$DBS = new DBS($bb_cfg);
/**

View file

@ -455,7 +455,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');