Praca nad kontrolerem postów; Zmianki w zakładce 'Posty'; Budowa kreatora postów; Zmianki w kontrolerze autoryzacji; Nowe, puste zakładki.

Took 3 hours 31 minutes
This commit is contained in:
Krzysztof 'KrzysiekSiemv' Smaga
2023-05-16 01:28:08 +02:00
parent 1bb536cd12
commit e7dd0b2fd6
175 changed files with 44439 additions and 46 deletions
+4 -1
View File
@@ -13,7 +13,10 @@
}
if(isset($_SESSION['uToken_BE'])){
if($auth->CheckRole($_SESSION['uToken_BE']) == "administrator" || $auth->CheckRole($_SESSION['uToken_BE']) == "moderator")
header("location: be_panel.php");
if(isset($_GET['goto']))
header("location: {$_GET['goto']}");
else
header("location: be_panel.php");
else
header("location: index.php");
}