1day2die %!s(int64=2) %!d(string=hai) anos
pai
achega
f12f95bce7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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))),
 
     /*
     |--------------------------------------------------------------------------