The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with page restriction
#1
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.
  Reply


Messages In This Thread
Problem with page restriction - by Avtandil - 05-04-2019, 05:27 PM
RE: Problem with page restriction - by mudmin - 05-05-2019, 12:16 PM
RE: Problem with page restriction - by Avtandil - 05-07-2019, 12:29 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)