Skip to content

Commit 545e9bc

Browse files
authored
Merge pull request #6495 from nextcloud/fix-webroot-throw-for-subdirectory-nc-installs
Fix webroot throw
2 parents 7698781 + 1a0ac91 commit 545e9bc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/private/Template/CSSResourceLocator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ public function append($root, $file, $webRoot = null, $throw = true, $scss = fal
129129
'throw' => $throw ? 'true' : 'false'
130130
]);
131131

132-
if ($throw) {
132+
if ($throw && $root === '/') {
133133
throw new ResourceNotFoundException($file, $webRoot);
134134
}
135135
}

0 commit comments

Comments
 (0)