Jump to content

Liam Hicks

Members
  • Posts

    8
  • Joined

  • Last visited

Liam Hicks's Achievements

  1. Hi, This is none of those things - it's a question specifically related to an example that you yourselves provide as documentation.
  2. Hi, Using the SSO example provided here: I'm getting a random string of characters e.g. '7a63e65db1164d4b5e7824e12fc97f64'. I'm using a Laravel install, with the forums folder placed in the '/public' directory. I've created a test.php file in the '/public' directory which has the following in it: <?php ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(E_ALL); /* Require the init.php file from the Community Suite root directory */ require '/home/forge/mysite.com/public/forums/init.php'; /* Initiate the session to verify who this user is */ \IPS\Session\Front::i(); /* Print the user's name */ print \IPS\Member::loggedIn()->name; print \IPS\Member::loggedIn()->email; If I move my test.php file inside the forums folder, I'm able to get the name and email correctly. Any thoughts on why I cannot get the details when they're outside the forums folder?
×
×
  • Create New...