XF 2.1 Using Xenforo login in external sites causing issues

Gomez

Member
So I'm using this technique to grab the logged in user from xenforo, and for the most part it works great.
PHP:
//Xenforo Session Setup
require ($fileDir . '/src/XF.php');
XF::start(__DIR__);
$app = XF::setupApp('XF\Pub\App');
$app->start();

$this->user = XF::visitor();

The issue I'm having is that a wiki I'm trying to use is conflicting with something else in xenforo. Is there a way to stop the xenforo app like we start it in the code above? ( couldn't find anything obvious) Is there a better way to isolate the xenforo part of the code from the wiki? ( specifically dokuwiki )

Thanks for any ideas.
 
Back
Top Bottom