summaryrefslogtreecommitdiff
path: root/pages/splitting.php
diff options
context:
space:
mode:
Diffstat (limited to 'pages/splitting.php')
-rw-r--r--pages/splitting.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/pages/splitting.php b/pages/splitting.php
index 7b5b1f5..d50ede8 100644
--- a/pages/splitting.php
+++ b/pages/splitting.php
@@ -1,9 +1,7 @@
<?php
-require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/session.php"; global $isLoggedIn;
-if (!$isLoggedIn) header("Location: /-/login") and die();
-
-$title = "Members by splitting date"; 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';
?>