diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-02-24 17:42:26 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-03-09 10:38:38 +0100 |
commit | 2367797c17aafe0f0570477ff653894f3033e97c (patch) | |
tree | a838d249abd8d65bfb985309e6d080fb65667210 /remote.php | |
parent | 33b11682f9826346f48b7587161dc5a43944a063 (diff) | |
download | nextcloud-server-2367797c17aafe0f0570477ff653894f3033e97c.tar.gz nextcloud-server-2367797c17aafe0f0570477ff653894f3033e97c.zip |
Respect http header 'Accept-Language' on ocs and remote.php calls
Diffstat (limited to 'remote.php')
-rw-r--r-- | remote.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/remote.php b/remote.php index 80173441e90..101b19a807d 100644 --- a/remote.php +++ b/remote.php @@ -29,6 +29,9 @@ try { exit; } + // force language as given in the http request + \OC_L10N::setLanguageFromRequest(); + $file=ltrim($file, '/'); $parts=explode('/', $file, 2); |