Update uri.php
This commit is contained in:
parent
6a20739eb6
commit
c6f4cf55ec
|
@ -90,14 +90,15 @@ if(!check_function_exists("read_requests")) {
|
||||||
|
|
||||||
// process requests
|
// process requests
|
||||||
$requests = array(
|
$requests = array(
|
||||||
"_ALL" => $_REQUEST,
|
"_ALL" => $_REQUEST,
|
||||||
"_POST" => $_POST,
|
"_POST" => $_POST,
|
||||||
"_GET" => $_GET,
|
"_GET" => $_GET,
|
||||||
"_URI" => get_value_in_array("REQUEST_URI", $_SERVER, false),
|
"_URI" => get_value_in_array("REQUEST_URI", $_SERVER, false),
|
||||||
"_FILES" => get_array($_FILES),
|
"_FILES" => get_array($_FILES),
|
||||||
"_RAW" => file_get_contents('php://input'),
|
"_RAW" => file_get_contents("php://input"),
|
||||||
"_JSON" => false,
|
"_JSON" => false,
|
||||||
"_SEAL" => false
|
"_SEAL" => false,
|
||||||
|
"_SERVER" => array_map("make_safe_argument", get_array($_SERVER)),
|
||||||
);
|
);
|
||||||
|
|
||||||
// check if json or serialized request
|
// check if json or serialized request
|
||||||
|
|
Loading…
Reference in New Issue
Block a user