summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2022-04-24 17:33:57 -0400
committerAdam T. Carpenter <atc@53hor.net>2022-04-24 17:33:57 -0400
commit6abcbebfd7f2d367aa0e771c11d30df59e5ce732 (patch)
treeb549d4e085a35e055010208bf5b69362767ed844
parentf51452a2c41b64b12f5db3180c48c4958f8a2c65 (diff)
downloadcarpentertutoring-6abcbebfd7f2d367aa0e771c11d30df59e5ce732.tar.xz
carpentertutoring-6abcbebfd7f2d367aa0e771c11d30df59e5ce732.zip
fix: always load header
-rw-r--r--index.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/index.php b/index.php
index 64f369e..7bfef5d 100644
--- a/index.php
+++ b/index.php
@@ -7,9 +7,8 @@ if ($_SERVER['REQUEST_METHOD'] == 'GET') {
} else if (empty($_SESSION['beehive']) || !$_SESSION['beehive'] || !empty($_POST['beehive'])) {
header('location: http://0.0.0.0/');
die;
-} else {
- include('header.php');
-}
+
+include('header.php');
?>
<!--banner-->
<section class="banner">