aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/private/Template/JSResourceLocator.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Template/JSResourceLocator.php b/lib/private/Template/JSResourceLocator.php
index 61611c69b0f..a84ef8968b9 100644
--- a/lib/private/Template/JSResourceLocator.php
+++ b/lib/private/Template/JSResourceLocator.php
@@ -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;
}