コード例 #1
0
ファイル: Auth.php プロジェクト: shenlu2011/Hub-master
 protected function __construct()
 {
     $this->session = new Session();
     $this->session->start();
     $userId = $this->getUserId();
     if ($userId !== null) {
         $users = new Users();
         $this->userInfo = $users->getUserInfo($userId);
     }
 }