aboutsummaryrefslogtreecommitdiff
path: root/oldwww/auth.php
diff options
context:
space:
mode:
Diffstat (limited to 'oldwww/auth.php')
-rw-r--r--oldwww/auth.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/oldwww/auth.php b/oldwww/auth.php
new file mode 100644
index 0000000..a63e5ea
--- /dev/null
+++ b/oldwww/auth.php
@@ -0,0 +1,8 @@
+<?php
+ session_start();
+
+ if (!isset($_SESSION['login']) || !$_SESSION['login']) {
+ header('Location: login.php');
+ exit;
+ }
+?>