summaryrefslogtreecommitdiff
path: root/system/emotes/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'system/emotes/index.php')
-rw-r--r--system/emotes/index.php10
1 files changed, 5 insertions, 5 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);