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, ];