Fix require file.

This commit is contained in:
Vasily Komrakov 2017-05-07 18:13:32 +03:00
commit 609696d0d0
No known key found for this signature in database
GPG key ID: 558236680C20A69A
15 changed files with 26 additions and 17 deletions

View file

@ -59,8 +59,7 @@ function msg_die($msg)
die($output);
}
define('TR_ROOT', './');
require(TR_ROOT . 'includes/init_tr.php');
require __DIR__ . '/includes/init_tr.php';
$info_hash_sql = rtrim(DB()->escape($info_hash), ' ');