Update logger.php

This commit is contained in:
Namhyeon Go 2019-05-25 20:39:13 +09:00 committed by GitHub
parent a76ddc8a09
commit 76a19fbc3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,7 +29,7 @@ if(!check_function_exists("write_common_log")) {
$forwards = explode(",", $forward_to);
$datetime = get_current_datetime();
$data = implode("\t", $datetime, $type, $msg);
$data = implode("\t", array($datetime, $type, $msg));
$fw = append_storage_file($data, array(
"storage_type" => "logs",
"filename" => "common.log",