external file

  1. fahad ashraf

    XF 2.2 Create user session - External PHP File

    i am trying to create user session from external php file but it is not working i am using below code define('XF_ROOT',$xfPathRoot); require(XF_ROOT . '/src/XF.php'); XF::start(XF_ROOT); $app = XF::setupApp('XF\Pub\App'); $app->start(); // assume i have user object...
Back
Top Bottom