Update common.php

This commit is contained in:
Roman Kelesidis 2024-08-04 22:48:01 +07:00
commit 2b874ff183

View file

@ -172,7 +172,7 @@ function utime()
return array_sum(explode(' ', microtime())); return array_sum(explode(' ', microtime()));
} }
function bb_log($msg, $file_name = 'logs.log', $return_path = false) function bb_log($msg, $file_name = 'logs', $return_path = false)
{ {
if (is_array($msg)) { if (is_array($msg)) {
$msg = implode(LOG_LF, $msg); $msg = implode(LOG_LF, $msg);