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 /system | |
| parent | 57472eab3c7b035392c6a5aa240593ecaa7d1ccf (diff) | |
upd: include paths
Diffstat (limited to 'system')
| -rw-r--r-- | system/emotes/index.php | 10 | ||||
| -rw-r--r-- | system/emotes/verdict.php | 8 | ||||
| -rw-r--r-- | system/index.php | 8 |
3 files changed, 13 insertions, 13 deletions
diff --git a/system/emotes/index.php b/system/emotes/index.php index 2a48408..d172482 100644 --- a/system/emotes/index.php +++ b/system/emotes/index.php @@ -1,9 +1,9 @@ <?php -include_once "../../../src/partials.php"; -include_once "../../../src/accounts.php"; -include_once "../../../src/alert.php"; -include_once "../../../src/config.php"; -include_once "../../../src/utils.php"; +include_once "{$_SERVER['DOCUMENT_ROOT']}/lib/partials.php"; +include_once "{$_SERVER['DOCUMENT_ROOT']}/lib/accounts.php"; +include_once "{$_SERVER['DOCUMENT_ROOT']}/lib/alert.php"; +include_once "{$_SERVER['DOCUMENT_ROOT']}/lib/config.php"; +include_once "{$_SERVER['DOCUMENT_ROOT']}/lib/utils.php"; if (!MOD_EMOTES_APPROVE) { generate_alert("/404.php", "Manual emote approval is disabled", 405); diff --git a/system/emotes/verdict.php b/system/emotes/verdict.php index df2f5ba..07e1300 100644 --- a/system/emotes/verdict.php +++ b/system/emotes/verdict.php @@ -1,8 +1,8 @@ <?php -include_once "../../../src/alert.php"; -include_once "../../../src/accounts.php"; -include_once "../../../src/config.php"; -include_once "../../../src/utils.php"; +include_once "{$_SERVER['DOCUMENT_ROOT']}/lib/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"; if (!MOD_EMOTES_APPROVE) { generate_alert("/404.php", "Manual emote approval is disabled", 405); diff --git a/system/index.php b/system/index.php index 95b17a5..f5c1677 100644 --- a/system/index.php +++ b/system/index.php @@ -1,8 +1,8 @@ <?php -include_once "../../src/partials.php"; -include_once "../../src/accounts.php"; -include_once "../../src/alert.php"; -include_once "../../src/config.php"; +include_once "{$_SERVER['DOCUMENT_ROOT']}/lib/partials.php"; +include_once "{$_SERVER['DOCUMENT_ROOT']}/lib/accounts.php"; +include_once "{$_SERVER['DOCUMENT_ROOT']}/lib/alert.php"; +include_once "{$_SERVER['DOCUMENT_ROOT']}/lib/config.php"; if (!MOD_SYSTEM_DASHBOARD) { generate_alert("/404.php", "System dashboard is disabled", 405); |
