mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 15:02:47 +08:00
改进默认语言的设置 修正默认语言包的加载问题
This commit is contained in:
@@ -203,10 +203,6 @@ class Handle
|
||||
if (IS_CLI) {
|
||||
return $message;
|
||||
}
|
||||
// 导入语言包
|
||||
if (!Config::get('lang_switch_on')) {
|
||||
Lang::load(THINK_PATH . 'lang' . DS . Lang::detect() . EXT);
|
||||
}
|
||||
|
||||
if (strpos($message, ':')) {
|
||||
$name = strstr($message, ':', true);
|
||||
|
||||
Reference in New Issue
Block a user