Skip to content
This repository has been archived by the owner on Jul 27, 2022. It is now read-only.

Commit

Permalink
Merge pull request #89 from laradocs/master
Browse files Browse the repository at this point in the history
兼容所有 Laravel 版本发布语言文件
  • Loading branch information
overtrue authored Jun 18, 2022
2 parents 588251b + 1053865 commit 9bdbc7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Commands/Publish.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.');
Expand Down

0 comments on commit 9bdbc7c

Please sign in to comment.