WIP on wkParticipo: 7765a9e geändert: index.php
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
<?php
|
||||
session_start([
|
||||
'cookie_lifetime' => 86400, // 86400s sind 24h
|
||||
]);
|
||||
session_start();
|
||||
session_regenerate_id();
|
||||
// Falls der serverseitige Logincookie nicht gesetzt ist, leite zur
|
||||
if (empty($_SESSION['login'])) {
|
||||
@@ -14,5 +12,6 @@
|
||||
"Sie sind als <strong>".htmlspecialchars($_SESSION['user']['username'])."</strong> angemeldet.<br />".
|
||||
"<a href=\"./logout.php\">Sitzung beenden</a>".
|
||||
"</div>";
|
||||
//<div style=\"border: 1px solid black\">".var_export($_SESSION, true)."</div>";
|
||||
}
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user