Browse Source

language fix

1day2die 2 years ago
parent
commit
f12f95bce7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      config/app.php

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