mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
Fix require file.
This commit is contained in:
parent
e9585e0789
commit
609696d0d0
15 changed files with 26 additions and 17 deletions
|
@ -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), ' ');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue