Update logger.php
This commit is contained in:
parent
a76ddc8a09
commit
76a19fbc3e
|
@ -29,7 +29,7 @@ if(!check_function_exists("write_common_log")) {
|
||||||
|
|
||||||
$forwards = explode(",", $forward_to);
|
$forwards = explode(",", $forward_to);
|
||||||
$datetime = get_current_datetime();
|
$datetime = get_current_datetime();
|
||||||
$data = implode("\t", $datetime, $type, $msg);
|
$data = implode("\t", array($datetime, $type, $msg));
|
||||||
$fw = append_storage_file($data, array(
|
$fw = append_storage_file($data, array(
|
||||||
"storage_type" => "logs",
|
"storage_type" => "logs",
|
||||||
"filename" => "common.log",
|
"filename" => "common.log",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user