diff options
Diffstat (limited to 'pages/nicknames.php')
-rw-r--r-- | pages/nicknames.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/pages/nicknames.php b/pages/nicknames.php index 050c275..4c06818 100644 --- a/pages/nicknames.php +++ b/pages/nicknames.php @@ -1,9 +1,7 @@ <?php -require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/session.php"; global $isLoggedIn; -if (!$isLoggedIn) header("Location: /-/login") and die(); - -$title = "Relations nicknames"; require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/header.php'; +require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/init.php"; global $title; global $isLoggedIn; +require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/header.php'; $members = scoreOrderGlobal(); $relations = []; |