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
just getting started
#2
ok, I found this code in the index page on the demo site, is this current?

# require_once 'users/init.php';
# require_once $abs_us_root.$us_url_root.'users/includes/header.php';
# require_once $abs_us_root.$us_url_root.'users/includes/navigation.php';
# if (!securePage($_SERVER['PHP_SELF'])){die();}

I want to use my own site navigation, and if the user isn't logged into a page, direct them to a login / sign up page, not to simply die(); ... does that happen?
  Reply


Messages In This Thread
just getting started - by rob.lindman - 08-05-2017, 10:45 AM
just getting started - by rob.lindman - 08-05-2017, 11:14 AM
just getting started - by mudmin - 08-05-2017, 12:30 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)