mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 20:52:48 +08:00
修正request类
This commit is contained in:
@@ -1172,7 +1172,7 @@ class Request
|
||||
public function isAjax()
|
||||
{
|
||||
$value = $this->server('HTTP_X_REQUESTED_WITH');
|
||||
return (!is_null($value) && strtolower($vlaue) == 'xmlhttprequest') ? true : false;
|
||||
return (!is_null($value) && strtolower($value) == 'xmlhttprequest') ? true : false;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user