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:
+4
-1
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user