summaryrefslogtreecommitdiff
path: root/account/security.php
diff options
context:
space:
mode:
Diffstat (limited to 'account/security.php')
-rw-r--r--account/security.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/account/security.php b/account/security.php
index 5545b60..a0210b5 100644
--- a/account/security.php
+++ b/account/security.php
@@ -1,9 +1,9 @@
<?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/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 ($_SERVER["REQUEST_METHOD"] != "POST" || !authorize_user(true)) {
header("Location: /account");