layout corrections

This commit is contained in:
marko
2021-12-23 17:04:53 +01:00
parent 6f65c06b32
commit bfb024d288
5 changed files with 166 additions and 23 deletions

View File

@@ -0,0 +1,12 @@
<?php
session_start();
// Falls der serverseitige Logincookie nicht gesetzt ist,
// leite zur loginSeite weiter
if (empty($_SESSION['login'])) {
header('Location: login', TRUE, 301);
exit;
} else {
header('Location: /participo/', TRUE, 301);
exit;
}
?>