diff options
| author | ilotterytea <iltsu@alright.party> | 2025-12-08 22:17:05 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2025-12-08 22:17:05 +0500 |
| commit | 95800ffe216a83bc0eba994ecc53ed22860fe90e (patch) | |
| tree | 69f1bcb85e63a5fc0fcbc6d70eb56e22940fd6fd /report | |
| parent | 57472eab3c7b035392c6a5aa240593ecaa7d1ccf (diff) | |
upd: include paths
Diffstat (limited to 'report')
| -rw-r--r-- | report/index.php | 10 | ||||
| -rw-r--r-- | report/list.php | 10 | ||||
| -rw-r--r-- | report/send.php | 8 |
3 files changed, 14 insertions, 14 deletions
diff --git a/report/index.php b/report/index.php index e5014c4..7b1b259 100644 --- a/report/index.php +++ b/report/index.php @@ -1,9 +1,9 @@ <?php -include_once "../../src/accounts.php"; -include_once "../../src/config.php"; -include_once "../../src/partials.php"; -include_once "../../src/utils.php"; -include_once "../../src/alert.php"; +include_once "{$_SERVER['DOCUMENT_ROOT']}/lib/accounts.php"; +include_once "{$_SERVER['DOCUMENT_ROOT']}/lib/config.php"; +include_once "{$_SERVER['DOCUMENT_ROOT']}/lib/partials.php"; +include_once "{$_SERVER['DOCUMENT_ROOT']}/lib/utils.php"; +include_once "{$_SERVER['DOCUMENT_ROOT']}/lib/alert.php"; if (!REPORTS_ENABLE) { generate_alert("/404.php", "Reports are disabled", 403); diff --git a/report/list.php b/report/list.php index f02731a..71c233e 100644 --- a/report/list.php +++ b/report/list.php @@ -1,9 +1,9 @@ <?php -include_once "../../src/accounts.php"; -include_once "../../src/config.php"; -include_once "../../src/partials.php"; -include_once "../../src/utils.php"; -include_once "../../src/alert.php"; +include_once "{$_SERVER['DOCUMENT_ROOT']}/lib/accounts.php"; +include_once "{$_SERVER['DOCUMENT_ROOT']}/lib/config.php"; +include_once "{$_SERVER['DOCUMENT_ROOT']}/lib/partials.php"; +include_once "{$_SERVER['DOCUMENT_ROOT']}/lib/utils.php"; +include_once "{$_SERVER['DOCUMENT_ROOT']}/lib/alert.php"; if (!REPORTS_ENABLE) { generate_alert("/404.php", "Reports are disabled", 403); diff --git a/report/send.php b/report/send.php index ab136e1..fe10ba6 100644 --- a/report/send.php +++ b/report/send.php @@ -1,8 +1,8 @@ <?php -include_once "../../src/accounts.php"; -include_once "../../src/config.php"; -include_once "../../src/utils.php"; -include_once "../../src/alert.php"; +include_once "{$_SERVER['DOCUMENT_ROOT']}/lib/accounts.php"; +include_once "{$_SERVER['DOCUMENT_ROOT']}/lib/config.php"; +include_once "{$_SERVER['DOCUMENT_ROOT']}/lib/utils.php"; +include_once "{$_SERVER['DOCUMENT_ROOT']}/lib/alert.php"; if (!REPORTS_ENABLE) { generate_alert("/404.php", "Reports are disabled", 403); |
