summaryrefslogtreecommitdiff
path: root/pages/fronting.php
diff options
context:
space:
mode:
Diffstat (limited to 'pages/fronting.php')
-rw-r--r--pages/fronting.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/pages/fronting.php b/pages/fronting.php
index 261cf03..3e613c6 100644
--- a/pages/fronting.php
+++ b/pages/fronting.php
@@ -1,4 +1,9 @@
-<?php require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/session.php"; global $isLoggedIn; if (!$isLoggedIn) header("Location: /-/login") and die(); $title = "Front planner"; require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/header.php'; ?>
+<?php
+
+require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/init.php"; global $title; global $isLoggedIn;
+require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/header.php';
+
+?>
<br>
<div class="container">