move locales file to /resources/
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
This commit is contained in:
parent
b17d256761
commit
8c73b13ac8
|
@ -301,7 +301,7 @@ class Factory implements IFactory {
|
|||
return $this->availableLocales;
|
||||
}
|
||||
|
||||
$localeData = file_get_contents(__DIR__ . '/locales.json');
|
||||
$localeData = file_get_contents(\OC::$SERVERROOT . '/resources/locales.json');
|
||||
$this->availableLocales = \json_decode($localeData, true);
|
||||
|
||||
return $this->availableLocales;
|
||||
|
|
Loading…
Reference in New Issue