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
Is function checkPermission($permission) valid to use?
#5
Hi,

I am strugling with the permissions thing, does not matter if the user has access or not, every single page is accesible without login in.

What am I missing?

Can someone point me in the direction of the function that checks for the permissions?

Is it possible it is missing from the pages I have written? (I used the template given)

Thanks

EDIT:

Found it, sorry.. the line

<?php if (!securePage($_SERVER['PHP_SELF'])){die();} ?>

was commented as
<?php //if (!securePage($_SERVER['PHP_SELF'])){die();} ?>
I think it was like that on the template
  Reply


Messages In This Thread
Is function checkPermission($permission) valid to use? - by aseiras - 09-09-2016, 08:06 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)