Commit f376263f by doszhang

dos

parent 69260cb0
......@@ -19,22 +19,6 @@ class IndexController extends Controller
public function index()
{
// $user = $this->get_user_info_from_cookie();
// // 如果没有获取到用户信息,引导用户授权
// if (!$user) {
// $this->request_auth($this->get_url());
// return;
// }
session_start();
$_SESSION['joinTime'] = time();
$this->display();
}
public function cookie()
{
SignedCookie::set_cookie($this->cookie_uid_key, 'oVsrlt0zUWMLvMx2-KPGVmY2I-Xc', C('cookie_sign'), 86400 * 60);
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment