mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-21 07:35:34 +08:00
update to 2.6.6 (build 434)
This commit is contained in:
@@ -118,6 +118,9 @@ class Framework
|
||||
$args["log-theme"] ?? "default",
|
||||
($o = ZMConfig::get("console_color")) === false ? [] : $o
|
||||
);
|
||||
if ((ZMConfig::get("global", "runtime")["save_console_log_file"] ?? false) !== false) {
|
||||
Console::setOutputFile(ZMConfig::get("global", "runtime")["save_console_log_file"]);
|
||||
}
|
||||
|
||||
$timezone = ZMConfig::get("global", "timezone") ?? "Asia/Shanghai";
|
||||
date_default_timezone_set($timezone);
|
||||
|
||||
Reference in New Issue
Block a user