/** * @see WCF::initSession() */ protected function initSession() { // start session require_once WBB_DIR . 'lib/system/session/WBBSessionFactory.class.php'; $factory = new WBBSessionFactory(); self::$sessionObj = $factory->get(); self::$userObj = self::getSession()->getUser(); }