XenForo
Administrative
- Thread starter
- Admin
- #1
I'm here after 2 hours of searching. All I found were older versions solutions
here is my code so far
PHP:
The session contains the userId, but it's protected. Don't know what to do next. Tried searching through xf code but it's too much
ادامه مطلب...
here is my code so far
PHP:
Code:
<?php
$dir = __DIR__;
require($dir . '/src/XF.php');
XF::start($dir);
$app = XF::setupApp('XF\Pub\App');
echo "<pre>";
var_dump($app->session());
?>
The session contains the userId, but it's protected. Don't know what to do next. Tried searching through xf code but it's too much
ادامه مطلب...