Skip to content

Commit

Permalink
Update Manager.php (#417)
Browse files Browse the repository at this point in the history
  • Loading branch information
barryvdh authored Mar 4, 2022
1 parent 51ce055 commit c86849a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ public function getLocales()

public function addLocale($locale)
{
$localeDir = $this->app->langPath().'/'.$locale;
$localeDir = $this->app->langPath().'/'.basename($locale);

$this->ignoreLocales = array_diff($this->ignoreLocales, [$locale]);
$this->saveIgnoredLocales();
Expand Down

0 comments on commit c86849a

Please sign in to comment.