summaryrefslogtreecommitdiff
path: root/pages/pleasure.php
diff options
context:
space:
mode:
Diffstat (limited to 'pages/pleasure.php')
-rw-r--r--pages/pleasure.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/pages/pleasure.php b/pages/pleasure.php
index 295e597..14b5440 100644
--- a/pages/pleasure.php
+++ b/pages/pleasure.php
@@ -1,10 +1,7 @@
<?php
-require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/session.php"; global $isLoggedIn;
-if (!$isLoggedIn) header("Location: /-/login") and die();
-
-$emergencyHeader = true;
-$title = "Pleasure alert"; require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/header.php';
+require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/init.php"; global $title; global $isLoggedIn;
+$emergencyHeader = true; require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/header.php';
?>