09-03-2018, 03:12 PM
(09-03-2018, 02:50 PM)eforbes Wrote: I want the login page to be my landing page. If I copy the login.php file to the root and rename it index.php would that be safe or should I redirect to the login.php in the 'users' folder?
I think a redirect would be easier
Code:
if(!$user->isLoggedIn()){Redirect::to('users/login.php');}