From 7f9b974c096302ae1675ecd9751121731bc1ea65 Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Tue, 18 Jul 2023 00:48:50 +0700 Subject: [PATCH] Minor adjustments --- admin/stats/tr_stats.php | 2 +- admin/stats/tracker.php | 2 +- profile.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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';