08-05-2017, 11:14 AM
ok, I found this code in the index page on the demo site, is this current?
# require_once 'users/init.php';
# require_once $abs_us_root.$us_url_root.'users/includes/header.php';
# require_once $abs_us_root.$us_url_root.'users/includes/navigation.php';
# if (!securePage($_SERVER['PHP_SELF'])){die();}
I want to use my own site navigation, and if the user isn't logged into a page, direct them to a login / sign up page, not to simply die(); ... does that happen?
# require_once 'users/init.php';
# require_once $abs_us_root.$us_url_root.'users/includes/header.php';
# require_once $abs_us_root.$us_url_root.'users/includes/navigation.php';
# if (!securePage($_SERVER['PHP_SELF'])){die();}
I want to use my own site navigation, and if the user isn't logged into a page, direct them to a login / sign up page, not to simply die(); ... does that happen?