Merge pull request #6495 from nextcloud/fix-webroot-throw-for-subdirectory-nc-installs
Fix webroot throw
This commit is contained in:
commit
545e9bc26b
|
@ -129,7 +129,7 @@ class CSSResourceLocator extends ResourceLocator {
|
|||
'throw' => $throw ? 'true' : 'false'
|
||||
]);
|
||||
|
||||
if ($throw) {
|
||||
if ($throw && $root === '/') {
|
||||
throw new ResourceNotFoundException($file, $webRoot);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue