Files
cwsvJudo/homepage/participo/machs.php

14 lines
441 B
PHP

<?php
// workaround file: this should be the new location of the achievement system! Since i used incorrect links in a newsLetter for now it redirects to the login page.
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;
}
?>