summaryrefslogtreecommitdiff
path: root/emotes/delete.php
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2025-12-08 22:17:05 +0500
committerilotterytea <iltsu@alright.party>2025-12-08 22:17:05 +0500
commit95800ffe216a83bc0eba994ecc53ed22860fe90e (patch)
tree69f1bcb85e63a5fc0fcbc6d70eb56e22940fd6fd /emotes/delete.php
parent57472eab3c7b035392c6a5aa240593ecaa7d1ccf (diff)
upd: include paths
Diffstat (limited to 'emotes/delete.php')
-rw-r--r--emotes/delete.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/emotes/delete.php b/emotes/delete.php
index 6252e45..159e293 100644
--- a/emotes/delete.php
+++ b/emotes/delete.php
@@ -1,7 +1,7 @@
<?php
-include_once "../../src/alert.php";
-include_once "../../src/config.php";
-include_once "../../src/accounts.php";
+include_once "{$_SERVER['DOCUMENT_ROOT']}/lib/alert.php";
+include_once "{$_SERVER['DOCUMENT_ROOT']}/lib/config.php";
+include_once "{$_SERVER['DOCUMENT_ROOT']}/lib/accounts.php";
if (!authorize_user(true)) {
generate_alert("/account", "Not authorized", 403);