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