CIM58 - Userflow - extended

This commit is contained in:
“VeLiTi”
2024-04-02 09:46:09 +02:00
parent 8c5fdd92f7
commit aabfd7ce7f
5 changed files with 17 additions and 3 deletions

View File

@@ -1,7 +1,10 @@
<?php
defined(page_security_key) or exit;
$page = 'partner';
//SET ORIGIN FOR NAVIGATION
$_SESSION['prev_origin'] = $_SERVER['REQUEST_URI'];
$page = $_SESSION['origin'] ='partner';
//Check if allowed
if (isAllowed($page,$_SESSION['profile'],$_SESSION['permission'],'R') === 0){
header('location: index.php');