Respect http header 'Accept-Language' on ocs and remote.php calls
This commit is contained in:
@@ -29,6 +29,9 @@ try {
|
||||
exit;
|
||||
}
|
||||
|
||||
// force language as given in the http request
|
||||
\OC_L10N::setLanguageFromRequest();
|
||||
|
||||
$file=ltrim($file, '/');
|
||||
|
||||
$parts=explode('/', $file, 2);
|
||||
|
||||
Reference in New Issue
Block a user