language fix

This commit is contained in:
1day2die 2023-01-10 19:48:46 +01:00
parent 94fe7d245c
commit f12f95bce7

View file

@ -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))),
/*
|--------------------------------------------------------------------------