summaryrefslogtreecommitdiff
path: root/account/login/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'account/login/index.php')
-rw-r--r--account/login/index.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/account/login/index.php b/account/login/index.php
index ace116d..7aef703 100644
--- a/account/login/index.php
+++ b/account/login/index.php
@@ -1,15 +1,15 @@
<?php
-include "../../../src/accounts.php";
+include "{$_SERVER['DOCUMENT_ROOT']}/lib/accounts.php";
if (authorize_user()) {
header("Location: /account");
exit;
}
-include "../../../src/partials.php";
-include_once "../../../src/config.php";
-include_once "../../../src/alert.php";
-include_once "../../../src/utils.php";
+include "{$_SERVER['DOCUMENT_ROOT']}/lib/partials.php";
+include_once "{$_SERVER['DOCUMENT_ROOT']}/lib/config.php";
+include_once "{$_SERVER['DOCUMENT_ROOT']}/lib/alert.php";
+include_once "{$_SERVER['DOCUMENT_ROOT']}/lib/utils.php";
if ($_SERVER["REQUEST_METHOD"] == "POST") {
if (!isset($_POST["username"], $_POST["password"])) {