This commit is contained in:
jakani24
2024-01-14 15:18:50 +01:00
parent 74e9aa24de
commit 8c9048d4e5
2 changed files with 32 additions and 90 deletions

View File

@@ -1,5 +1,4 @@
<?php
/*
session_start();
// Check if the user is logged in
@@ -10,13 +9,13 @@ if (!isset($_SESSION['username']) or !isset($_SESSION["login"])) {
}
$username = $_SESSION['username'];
*/
$perms = $_SESSION["perms"];
if(isset($_GET["page"])){
$page=$_GET["page"];
}else{
$page="welcome.php";
}
$username="test";
?>
<!DOCTYPE html>