diff --git a/admin/stats/tr_stats.php b/admin/stats/tr_stats.php index 941a425fe..dca680e6a 100644 --- a/admin/stats/tr_stats.php +++ b/admin/stats/tr_stats.php @@ -7,8 +7,8 @@ * @license https://github.com/torrentpier/torrentpier/blob/master/LICENSE MIT License */ -define('IN_ADMIN', true); define('BB_ROOT', './../../'); +define('IN_ADMIN', true); require BB_ROOT . 'common.php'; diff --git a/admin/stats/tracker.php b/admin/stats/tracker.php index dbb37cb58..e2e465e43 100644 --- a/admin/stats/tracker.php +++ b/admin/stats/tracker.php @@ -7,8 +7,8 @@ * @license https://github.com/torrentpier/torrentpier/blob/master/LICENSE MIT License */ -define('IN_ADMIN', true); define('BB_ROOT', './../../'); +define('IN_ADMIN', true); require BB_ROOT . 'common.php'; diff --git a/profile.php b/profile.php index 627b4dd73..41af24ad6 100644 --- a/profile.php +++ b/profile.php @@ -7,8 +7,8 @@ * @license https://github.com/torrentpier/torrentpier/blob/master/LICENSE MIT License */ -define('IN_PROFILE', true); define('BB_SCRIPT', 'profile'); +define('IN_PROFILE', true); require __DIR__ . '/common.php';