diff options
Diffstat (limited to 'lib/private/Template/CSSResourceLocator.php')
-rw-r--r-- | lib/private/Template/CSSResourceLocator.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Template/CSSResourceLocator.php b/lib/private/Template/CSSResourceLocator.php index e4b6890529e..c8a8c04ab47 100644 --- a/lib/private/Template/CSSResourceLocator.php +++ b/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); } } |