function __construct() { parent::__construct(); if (!$this->checkSession()) { $this->error('抱歉,登录超时!请重新登录!', '/'); exit; } $this->assign('current', 'dashboard'); }
function __construct() { parent::__construct(); }