summaryrefslogtreecommitdiff
path: root/account/login
diff options
context:
space:
mode:
Diffstat (limited to 'account/login')
-rw-r--r--account/login/index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/account/login/index.php b/account/login/index.php
index fd0d386..54a6681 100644
--- a/account/login/index.php
+++ b/account/login/index.php
@@ -1,12 +1,12 @@
<?php
-include "{$_SERVER['DOCUMENT_ROOT']}/lib/accounts.php";
+include_once "{$_SERVER['DOCUMENT_ROOT']}/lib/accounts.php";
if (authorize_user() && !CLIENT_REQUIRES_JSON) {
header("Location: /account");
exit;
}
-include "{$_SERVER['DOCUMENT_ROOT']}/lib/partials.php";
+include_once "{$_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";