The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (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
checkMenu Page
#1
Hello!

I want to use a menu link, and instead of hard coding the permission levels that have access to that menu link, check the file and see if that permission level is in the users? Can this be coded into a function so I don't have to write the code out everytime and just call the function with the file name I want to check?

Thank you!
  Reply


Messages In This Thread
checkMenu Page - by Brandin - 06-24-2017, 12:57 PM
checkMenu Page - by mudmin - 06-24-2017, 01:16 PM
checkMenu Page - by Brandin - 06-24-2017, 01:25 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)