diff options
| author | Horus3 | 2014-02-09 17:21:59 +0100 |
|---|---|---|
| committer | Horus3 | 2014-02-09 17:21:59 +0100 |
| commit | 65dc06eab2305800ad862b4621807fd7d4f7fe8d (patch) | |
| tree | c8efcc90589d30ecbe838fc7822c8d031cbececa /auth.php | |
| download | jungegemeinde-65dc06eab2305800ad862b4621807fd7d4f7fe8d.tar.gz | |
Init
Diffstat (limited to 'auth.php')
| -rw-r--r-- | auth.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/auth.php b/auth.php new file mode 100644 index 0000000..a63e5ea --- /dev/null +++ b/auth.php @@ -0,0 +1,8 @@ +<?php + session_start(); + + if (!isset($_SESSION['login']) || !$_SESSION['login']) { + header('Location: login.php'); + exit; + } +?> |
