summaryrefslogtreecommitdiffstats
path: root/lib/private/L10N/Factory.php
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2018-06-27 21:22:42 +0200
committerGeorg Ehrke <developer@georgehrke.com>2018-06-27 21:52:19 +0200
commit8c73b13ac870b0a6b75b701f4f52463c198421a5 (patch)
treeef6ca3e4943dcacfb9afa878c2bb7fd60175705a /lib/private/L10N/Factory.php
parentb17d256761ef244bacbadd37f661bfe92ed6972e (diff)
downloadnextcloud-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.php2
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;