Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added pjax check #11

Open
wants to merge 1 commit into
base: gh-pages
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1272,6 +1272,8 @@ <h4><a name="requests" href="#requests">Request</a> <a href="http://laravel.com/
Request::server('PATH_INFO');
// Determine if the request is the result of an AJAX call
Request::ajax();
// Determine if the request is the result of an PJAX call
Request::pjax();
// Determine if the request is over HTTPS
Request::secure();
// Get the request method
Expand Down
2 changes: 2 additions & 0 deletions index_zh-CN.html
Original file line number Diff line number Diff line change
Expand Up @@ -1276,6 +1276,8 @@ <h4><a name="requests" href="#requests">Request</a> <a href="http://laravel-chin
Request::server('PATH_INFO');
// 判断请求是否是 AJAX 请求
Request::ajax();
// 判断请求是否是 PJAX 请求
Request::pjax();
// 判断请求是否使用 HTTPS
Request::secure();
// 获取请求方法
Expand Down