From 081f6f111fb77474548420ba168fad73a46f102b Mon Sep 17 00:00:00 2001 From: testadmin Date: Mon, 11 May 2026 15:16:13 +0800 Subject: [PATCH] =?UTF-8?q?revert:=20=E5=9B=9E=E6=BB=9A=20extend=5Flist=20?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=EF=BC=8Capp()=20=E5=9C=A8=20config=20?= =?UTF-8?q?=E9=98=B6=E6=AE=B5=E6=9C=AA=E5=88=9D=E5=A7=8B=E5=8C=96=E4=BC=9A?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/lang.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/config/lang.php b/config/lang.php index 2189e16..c1c8a3d 100644 --- a/config/lang.php +++ b/config/lang.php @@ -15,11 +15,7 @@ return [ // 多语言cookie变量 'cookie_var' => 'think_lang', // 扩展语言包 - 'extend_list' => [ - 'zh-cn' => [app()->getRootPath() . 'app/lang/zh-cn.php'], - 'zh-tw' => [app()->getRootPath() . 'app/lang/zh-cn.php'], - 'en-us' => [app()->getRootPath() . 'app/lang/zh-cn.php'], - ], + 'extend_list' => [], // Accept-Language转义为对应语言包名称 'accept_language' => [ 'zh-hans-cn' => 'zh-cn',