mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-24 00:55:35 +08:00
update to 2.5.0-b3 (build 413)
This commit is contained in:
@@ -28,7 +28,7 @@ class ConsoleApplication extends Application
|
|||||||
{
|
{
|
||||||
private static $obj = null;
|
private static $obj = null;
|
||||||
|
|
||||||
const VERSION_ID = 412;
|
const VERSION_ID = 413;
|
||||||
const VERSION = "2.5.0-b3";
|
const VERSION = "2.5.0-b3";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -136,7 +136,7 @@ class Framework
|
|||||||
$conf = ZMConfig::get("global", "sql_config");
|
$conf = ZMConfig::get("global", "sql_config");
|
||||||
$out["mysql_pool"] = $conf["sql_database"] . "@" . $conf["sql_host"] . ":" . $conf["sql_port"];
|
$out["mysql_pool"] = $conf["sql_database"] . "@" . $conf["sql_host"] . ":" . $conf["sql_port"];
|
||||||
}
|
}
|
||||||
if ((ZMConfig::get("global", "mysql_config")["host"] ?? null) !== "") {
|
if ((ZMConfig::get("global", "mysql_config")["host"] ?? "") !== "") {
|
||||||
$conf = ZMConfig::get("global", "mysql_config");
|
$conf = ZMConfig::get("global", "mysql_config");
|
||||||
$out["mysql"] = $conf["dbname"] . "@" . $conf["host"] . ":" . $conf["port"];
|
$out["mysql"] = $conf["dbname"] . "@" . $conf["host"] . ":" . $conf["port"];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user