Update logger.php

This commit is contained in:
Namhyeon Go 2018-05-27 02:34:39 +09:00 committed by GitHub
parent aeea0ffcfb
commit c0f8693915
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,8 +12,10 @@ if(!function_exists("write_visit_log")) {
$data = "\r\n" . json_encode(get_network_event());
return write_storage_file($data, array(
"stroage_type" => "logs",
"filename" => "vspf-" . date("Ymd"),
"filename" => "vspf-net-" . date("Ymd"),
"mode" => "a",
));
}
}
write_visit_log();