diff options
author | Georg Ehrke <developer@georgehrke.com> | 2018-06-27 21:22:42 +0200 |
---|---|---|
committer | Georg Ehrke <developer@georgehrke.com> | 2018-06-27 21:52:19 +0200 |
commit | 8c73b13ac870b0a6b75b701f4f52463c198421a5 (patch) | |
tree | ef6ca3e4943dcacfb9afa878c2bb7fd60175705a /lib/private/L10N/Factory.php | |
parent | b17d256761ef244bacbadd37f661bfe92ed6972e (diff) | |
download | nextcloud-server-8c73b13ac870b0a6b75b701f4f52463c198421a5.tar.gz nextcloud-server-8c73b13ac870b0a6b75b701f4f52463c198421a5.zip |
move locales file to /resources/
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Diffstat (limited to 'lib/private/L10N/Factory.php')
-rw-r--r-- | lib/private/L10N/Factory.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/L10N/Factory.php b/lib/private/L10N/Factory.php index d824fa461e7..8c8735836bb 100644 --- a/lib/private/L10N/Factory.php +++ b/lib/private/L10N/Factory.php @@ -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; |