mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Fixing bad syntax from PR
This commit is contained in:
parent
51e02e2ed7
commit
9282662293
@ -1359,8 +1359,8 @@ class Requirements_Backend {
|
|||||||
$this->css($theme . $css, $media);
|
$this->css($theme . $css, $media);
|
||||||
} elseif($module) {
|
} elseif($module) {
|
||||||
$this->css($module . $css, $media);
|
$this->css($module . $css, $media);
|
||||||
} elseif (Director::isDev()) {
|
} else {
|
||||||
throw Exception("The css file doesn't exists. Please check if the file $name.css exists in any context or search for themedCSS references calling this file in your templates.");
|
throw new InvalidArgumentException("The css file doesn't exists. Please check if the file $name.css exists in any context or search for themedCSS references calling this file in your templates.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user