summaryrefslogtreecommitdiff
path: root/report/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'report/index.php')
-rw-r--r--report/index.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/report/index.php b/report/index.php
index e5014c4..7b1b259 100644
--- a/report/index.php
+++ b/report/index.php
@@ -1,9 +1,9 @@
<?php
-include_once "../../src/accounts.php";
-include_once "../../src/config.php";
-include_once "../../src/partials.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/partials.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);