mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 00:12:30 -05:00
fix: Do not attempt to use l10n files as sources for combined js files
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
8bdb50fd50
commit
0ebb00d01d
1 changed files with 1 additions and 1 deletions
|
|
@ -100,7 +100,7 @@ class JSResourceLocator extends ResourceLocator {
|
|||
$app_path = realpath($app_path);
|
||||
|
||||
// check combined files
|
||||
if ($this->cacheAndAppendCombineJsonIfExist($app_path, $script.'.json', $app)) {
|
||||
if (!str_starts_with($script, 'l10n/') && $this->cacheAndAppendCombineJsonIfExist($app_path, $script.'.json', $app)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue