summaryrefslogtreecommitdiff
path: root/emotes/rate.php
diff options
context:
space:
mode:
Diffstat (limited to 'emotes/rate.php')
-rw-r--r--emotes/rate.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/emotes/rate.php b/emotes/rate.php
index 1e8eb67..fbea404 100644
--- a/emotes/rate.php
+++ b/emotes/rate.php
@@ -1,8 +1,8 @@
<?php
-include_once "../../src/alert.php";
-include_once "../../src/utils.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/utils.php";
+include_once "{$_SERVER['DOCUMENT_ROOT']}/lib/config.php";
+include_once "{$_SERVER['DOCUMENT_ROOT']}/lib/accounts.php";
if (!RATING_ENABLE) {
generate_alert("/404.php", "Emote ratings are disabled", 403);