The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
User login
#1
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?
  Reply
#2
(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');}
  Reply
#3
(09-03-2018, 03:12 PM)usamusa Wrote:
(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');}


Thanks usamusa.
  Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)