From 1053865d8663168910fbf86cb6da9b1e35a91408 Mon Sep 17 00:00:00 2001 From: Tall <75692074@qq.com> Date: Sat, 18 Jun 2022 13:38:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=BC=E5=AE=B9=20Laravel9=20=E4=BB=A5?= =?UTF-8?q?=E4=B8=8B=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Commands/Publish.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Commands/Publish.php b/src/Commands/Publish.php index 18c5ae5..652ba83 100644 --- a/src/Commands/Publish.php +++ b/src/Commands/Publish.php @@ -39,7 +39,7 @@ public function handle() $sourcePath = base_path('vendor/laravel-lang/lang/locales'); $sourceJsonPath = base_path('vendor/laravel-lang/lang/locales'); - $targetPath = base_path('lang'); + $targetPath = lang_path(); if (!is_dir($targetPath) && !mkdir($targetPath)) { $this->error('The lang path "lang" does not exist or not writable.');