Nullified Posted August 11, 2011 Share Posted August 11, 2011 How would I set it up so that whmcs redirects to login.php when someone that is not logged in tries to view the homepage? 0 Quote Link to comment Share on other sites More sharing options...
Nullified Posted August 12, 2011 Author Share Posted August 12, 2011 <body> {if !$loggedin and ($filename eq "index")}<script language="JavaScript">location.href='{$systemurl}login.php';</script>{/if} I did this. It works. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.