05-04-2019, 05:27 PM
Hi all
i have created separate folder and added it in z_us_root.php. It's working well, but when i add new page in new folder and then restricting from permission level it's not working. Also i have created new permission leve named "Driver" I red that in pages must be code included. how can i check is or not this user in Driver group.
require_once '../users/init.php';
if(isset($user) && $user->isLoggedIn()){
//Redirect::to($us_url_root.'users/account.php');
}else{
Redirect::to($us_url_root.'users/login.php');
}
die();
I'm new in this system.
Thank you in advance.
i have created separate folder and added it in z_us_root.php. It's working well, but when i add new page in new folder and then restricting from permission level it's not working. Also i have created new permission leve named "Driver" I red that in pages must be code included. how can i check is or not this user in Driver group.
require_once '../users/init.php';
if(isset($user) && $user->isLoggedIn()){
//Redirect::to($us_url_root.'users/account.php');
}else{
Redirect::to($us_url_root.'users/login.php');
}
die();
I'm new in this system.
Thank you in advance.