From 3d852babf65f35fe9dd8353dd627ff3dd7da542f Mon Sep 17 00:00:00 2001 From: Anyon Date: Mon, 24 Aug 2020 13:53:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/cookie.php | 2 +- config/filesystem.php | 2 +- config/lang.php | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/cookie.php b/config/cookie.php index ceb280c59..65fa95b4b 100644 --- a/config/cookie.php +++ b/config/cookie.php @@ -20,7 +20,7 @@ return [ 'path' => '/', // cookie 有效域名 'domain' => '', - // cookie 启用安全传输 + // cookie 启用安全传输 'secure' => false, // httponly 设置 'httponly' => false, diff --git a/config/filesystem.php b/config/filesystem.php index 326429549..4beb8e3fb 100644 --- a/config/filesystem.php +++ b/config/filesystem.php @@ -26,7 +26,7 @@ return [ // 磁盘类型 'type' => 'local', // 磁盘路径 - 'root' => app()->getRootPath() . 'public/storage', + 'root' => app()->getRootPath() . 'public' . DIRECTORY_SEPARATOR . 'storage', // 磁盘路径对应的外部URL路径 'url' => '/storage', // 可见性 diff --git a/config/lang.php b/config/lang.php index 6e6f883fe..95346d369 100644 --- a/config/lang.php +++ b/config/lang.php @@ -24,12 +24,12 @@ return [ 'use_cookie' => true, // 多语言 Cookie 变量 'cookie_var' => 'think_lang', + // 是否支持语言分组 + 'allow_group' => false, // 扩展语言包 'extend_list' => [], // 转义为对应语言包名称 'accept_language' => [ 'zh-hans-cn' => 'zh-cn', ], - // 是否支持语言分组 - 'allow_group' => false, ];