diff --git a/config/app.php b/config/app.php index 778d9120..4ffbd18a 100644 --- a/config/app.php +++ b/config/app.php @@ -97,7 +97,7 @@ return [ | */ - 'available_locales' => array_map('basename', preg_replace('/\\.[^.\\s]{3,4}$/', '', glob(resource_path().'/lang/*.json', GLOB_BRACE))), + 'available_locales' => array_map('basename', preg_replace('/\\.[^.\\s]{3,4}$/', '', glob(base_path("lang").'/*.json', GLOB_BRACE))), /* |--------------------------------------------------------------------------