Update logger.php

This commit is contained in:
Namhyeon Go 2018-05-27 02:42:58 +09:00 committed by GitHub
parent 3692665fee
commit ec91a9ea49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,11 +11,9 @@ if(!function_exists("write_visit_log")) {
loadHelper("networktool");
$data = "\r\n" . json_encode(get_network_event());
return write_storage_file($data, array(
"stroage_type" => "logs",
"filename" => "vspf-net-" . date("Ymd"),
"storage_type" => "logs",
"filename" => "vspf-network.log",
"mode" => "a",
));
}
}
write_visit_log();