Merge pull request #6495 from nextcloud/fix-webroot-throw-for-subdirectory-nc-installs

Fix webroot throw
This commit is contained in:
Morris Jobke 2017-09-14 13:29:57 +02:00 committed by GitHub
commit 545e9bc26b
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ class CSSResourceLocator extends ResourceLocator {
'throw' => $throw ? 'true' : 'false'
]);
if ($throw) {
if ($throw && $root === '/') {
throw new ResourceNotFoundException($file, $webRoot);
}
}