09-25-2016, 09:21 PM
So yeah this would be a regular user, not admin level.
In custom_login_script.php I have so when the user is done login in it takes them to the main index. Other than some custom navigation I haven't done too much modification.
In my index file I have at the top:
<pre></pre>
The weird thing is the new user can access /users/account.php just not any page outside the /user path it seems where I have specified the above securePage. But again, Admin level has no issues.
In custom_login_script.php I have
Code:
Redirect::to($us_url_root.'index.php');
In my index file I have at the top:
<pre>
Code:
require_once 'users/init.php';
if (!securePage($_SERVER['PHP_SELF'])){die();}
The weird thing is the new user can access /users/account.php just not any page outside the /user path it seems where I have specified the above securePage. But again, Admin level has no issues.