コード例 #1
0
ファイル: CheckAuth.php プロジェクト: minowu/smartthink
 /**
  * 返回403
  * 可以根据实际情况在项目内覆盖
  *
  * @return void
  */
 public function redirectTo403()
 {
     if (IS_AJAX) {
         exit(Response::send_http_status(403));
     } else {
         exit(Lang::get('_ERROR_403'));
     }
 }