11-03-2016, 08:44 PM
Hello,
the code is in my configuration not working in a new file without the link.
Than the page is visible, or redirected to the login screen, nice and perfect coding.
The link for this page is on the main screen, and if the user is not logged in, or has the correct settings for this file, why bother him with a link that he can not activate.
If I disable the link with securePage the error message is on my main page.
How to code this one?
the code
Code:
if (!securePage($_SERVER['PHP_SELF'])){die();}
Code:
require_once $abs_us_root.$us_url_root.'users/helpers/helpers.php';
Than the page is visible, or redirected to the login screen, nice and perfect coding.
The link for this page is on the main screen, and if the user is not logged in, or has the correct settings for this file, why bother him with a link that he can not activate.
If I disable the link with securePage the error message is on my main page.
Quote:You must go into the Admin Panel and click the Manage Pages button to add this page to the database. Doing so will make this error go away.
How to code this one?