The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (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
What to do after install?
#2
Hi Leandro,
I'm not sure I totally understand your question.

So you are saying when a user first comes to your page, if they are not logged in, you want them to be redirected to the login page?

If that is what you're doing, you want to add the following php on line 12 of index.php before the ?>
if(!isset($user) || !$user->isLoggedIn()){ Redirect::to('users/login.php'); }
  Reply


Messages In This Thread
What to do after install? - by leostereo - 06-01-2019, 01:49 AM
RE: What to do after install? - by mudmin - 06-01-2019, 09:27 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)