summaryrefslogtreecommitdiff
path: root/emotes/delete.php
diff options
context:
space:
mode:
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);