aboutsummaryrefslogtreecommitdiff
path: root/www/auth.php
diff options
context:
space:
mode:
authorroot2014-03-02 00:13:01 +0100
committerroot2014-03-02 00:13:01 +0100
commit82185753906709f9944a07c35a809736cf979afe (patch)
tree3d9a9f82f13f84ba82ef9f0a2823c11989e526f0 /www/auth.php
parentf10abe4b061ce7e4f8719c2730d6edab7c06b00c (diff)
downloadjungegemeinde-82185753906709f9944a07c35a809736cf979afe.tar.gz
new folder etc
Diffstat (limited to 'www/auth.php')
-rw-r--r--www/auth.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/www/auth.php b/www/auth.php
new file mode 100644
index 0000000..a63e5ea
--- /dev/null
+++ b/www/auth.php
@@ -0,0 +1,8 @@
+<?php
+ session_start();
+
+ if (!isset($_SESSION['login']) || !$_SESSION['login']) {
+ header('Location: login.php');
+ exit;
+ }
+?>