Update networktool.php

This commit is contained in:
Namhyeon Go 2018-09-03 01:04:08 +09:00 committed by GitHub
parent e6af683e13
commit 997f0ec1f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,8 +18,8 @@ if(!function_exists("get_network_event")) {
"agent" => getenv("HTTP_USER_AGENT"), "agent" => getenv("HTTP_USER_AGENT"),
"referrer" => getenv("HTTP_REFERER"), "referrer" => getenv("HTTP_REFERER"),
"query" => getenv("QUERY_STRING"), "query" => getenv("QUERY_STRING"),
"self" => $_SERVER['PHP_SELF'], "self" => get_value_in_array("PHP_SELF", $_SERVER, ""),
"method" => $_SERVER['REQUEST_METHOD'], "method" => get_value_in_array("REQUEST_METHOD", $_SERVER, ""),
); );
} }
} }