09-09-2016, 08:06 PM
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
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