09-23-2016, 08:40 PM
I guess PHP would parse $us_url_root prior to displaying the page, so if it works for you, then that is just fine.
The page should only refresh in the case where the user is logged out, and that div doesn't say "Not Logged In". So it *should* only fire on the pages which meet that criteria, and shouldn't happen at all when a user is logged in.
Just to confirm, if you sign in, then open another tab for your userspice install, and then sign out of one of your tabs...the tab you didn't sign out of should be the only one that refreshes.
However, you are seeing each page reload and take you to the destination specified in the logoutcheck.php?
The page should only refresh in the case where the user is logged out, and that div doesn't say "Not Logged In". So it *should* only fire on the pages which meet that criteria, and shouldn't happen at all when a user is logged in.
Just to confirm, if you sign in, then open another tab for your userspice install, and then sign out of one of your tabs...the tab you didn't sign out of should be the only one that refreshes.
However, you are seeing each page reload and take you to the destination specified in the logoutcheck.php?