updated a whole bunch of stuff

This commit is contained in:
2019-05-24 20:18:37 +02:00
parent 4a050eda84
commit ec5a13ccd1
9 changed files with 36 additions and 10 deletions

View File

@@ -1,4 +1,4 @@
<?php
?>

View File

@@ -4,4 +4,8 @@ if(UserSession::isUserSignedIn()){
}else{
include("./view/pagecontent/header/content_header_signedout.php");
}
if(!UserSession::isSessionValid()){
include_once("./model/actions/model_signout.php");
}
echo('content_header');
?>

View File

@@ -3,5 +3,5 @@ include_once("./controller/AssetHandler.php");
AssetHandler::printAsset("logo.png", true, 128);
?>
<nav>
<a href="?p=attempt_logout">log out</a> <a href="?p=">home</a> <a href="?p=create_topic">create thread</a> <a href="?p=destroy">simulate $_SESSION expiry</a>
<a href="?a=signout">log out</a> <a href="?p=">home</a> <a href="?p=create_topic">create thread</a> <a href="?p=destroy">simulate $_SESSION expiry</a>
</nav>