librecat/config.php

17 lines
253 B
PHP
Raw Normal View History

2020-05-21 15:57:59 +00:00
<?php
session_start();
if($_SESSION["login"] === true){
echo($_SESSION["uid"] . " - ");
echo("<a href='/logout'>logout</a>");
echo(" - <a href='/config'>config</a>'");
}
else{
header("Location: /login"); die();
}
?>
<html>
<h1>Config</h1>
</html>