Fix webroot throw

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
pull/6495/head
John Molakvoæ (skjnldsv) 9 years ago
parent 7698781a1e
commit 1a0ac912b2
No known key found for this signature in database
GPG Key ID: FB5ACEED51955BF8
  1. 2
      lib/private/Template/CSSResourceLocator.php

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

Loading…
Cancel
Save