Мелкие правки
This commit is contained in:
parent
57773265b4
commit
cdf7527c43
2 changed files with 4 additions and 2 deletions
|
|
@ -18,11 +18,12 @@ class HttpRequest extends Collection implements ArrayAccess
|
|||
*/
|
||||
public function __construct()
|
||||
{
|
||||
$list = array (
|
||||
$list = [
|
||||
'data' => $_REQUEST,
|
||||
'get' => $_GET,
|
||||
'post' => $_POST,
|
||||
'cookie' => $_COOKIE);
|
||||
'cookie' => $_COOKIE
|
||||
];
|
||||
|
||||
$ajax = $this->isAjax();
|
||||
foreach ($list as $key => $value) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue