Update logger.php
This commit is contained in:
parent
e9395cca4d
commit
40cdd0ddb9
|
@ -21,15 +21,13 @@ if(!is_fn("append_log_to_file")) {
|
||||||
if(!is_fn("write_visit_log")) {
|
if(!is_fn("write_visit_log")) {
|
||||||
function write_visit_log($mode="") {
|
function write_visit_log($mode="") {
|
||||||
$fw = false;
|
$fw = false;
|
||||||
|
|
||||||
$nevt = false;
|
$nevt = false;
|
||||||
if(loadHelper("networktool")) {
|
if(loadHelper("networktool")) {
|
||||||
$nevt = get_network_event();
|
$nevt = get_network_event();
|
||||||
}
|
}
|
||||||
|
|
||||||
if($nevt === false) {
|
if($nevt === false) return $fw;
|
||||||
return $fw;
|
|
||||||
}
|
|
||||||
|
|
||||||
if($mode == "database") {
|
if($mode == "database") {
|
||||||
$tablename = exec_db_table_create(array(
|
$tablename = exec_db_table_create(array(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user