#157. Fix Error in GET /bt/announce.php

This commit is contained in:
Vasily Komrakov 2017-02-08 21:44:32 +03:00
commit 192a1c8601
No known key found for this signature in database
GPG key ID: 558236680C20A69A
2 changed files with 1 additions and 1 deletions

View file

@ -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);
/** /**

View file

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