Update logger.php

This commit is contained in:
Namhyeon Go 2020-06-14 18:46:53 +09:00 committed by GitHub
parent e9395cca4d
commit 40cdd0ddb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,15 +21,13 @@ if(!is_fn("append_log_to_file")) {
if(!is_fn("write_visit_log")) {
function write_visit_log($mode="") {
$fw = false;
$nevt = false;
if(loadHelper("networktool")) {
$nevt = get_network_event();
}
if($nevt === false) {
return $fw;
}
if($nevt === false) return $fw;
if($mode == "database") {
$tablename = exec_db_table_create(array(