Fix webroot throw
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
7698781a1e
commit
1a0ac912b2
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue