Merge branch 'master' into noglob

This commit is contained in:
origami11@yandex.ru 2022-11-18 16:07:32 +03:00
commit 7d35a8f3f0
27 changed files with 430 additions and 288 deletions

View file

@ -20,11 +20,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) {