Update networktool.php

This commit is contained in:
Namhyeon Go 2018-04-11 02:43:57 +09:00 committed by GitHub
parent 88bc405256
commit b156949ac8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,8 +8,10 @@
if(!function_exists("get_network_event")) {
function get_network_event() {
$config = get_config();
return array(
"time" => date("Y-m-d H:i:s"),
"time" => get_value_in_array("timeformat", $config, "Y-m-d H:i:s"),
"server" => get_network_client_addr(),
"hostname" => get_network_hostname(),
"client" => get_network_client_addr(),