diff --git a/auth.php b/auth.php
index 33307e2..dbb00de 100755
--- a/auth.php
+++ b/auth.php
@@ -17,13 +17,14 @@
* along with this program; if not, see .
*/
-require_once("helpers/config.php");
+define("ROOT_DIR", __DIR__);
+require_once(ROOT_DIR . "/helpers/config.php");
$config = new uConfig();
-require_once("lang.php");
-require_once("helpers/db.php");
+require_once(ROOT_DIR . "/lang.php");
+require_once(ROOT_DIR . "/helpers/db.php");
$mysqli = uDb::getInstance();
-require_once($config::$rootDir . "/helpers/user.php");
+require_once(ROOT_DIR . "/helpers/user.php");
session_name('ulogger');
session_start();
@@ -57,7 +58,7 @@ if (!$user->isValid && ($config::$require_authentication || defined('headless'))
' . $lang["title"] . '
-
+
-
+
-
+
-
+
isAdmin): ?>
-
+
-
+