mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Correct a typo when css/js file doesn't exist
Typo
This commit is contained in:
parent
e741af9127
commit
eb0da138aa
@ -1439,7 +1439,7 @@ class Requirements_Backend
|
|||||||
$this->css($path, $media);
|
$this->css($path, $media);
|
||||||
} else {
|
} else {
|
||||||
throw new \InvalidArgumentException(
|
throw new \InvalidArgumentException(
|
||||||
"The css file doesn't exists. Please check if the file $name.css exists in any context or search for "
|
"The css file doesn't exist. Please check if the file $name.css exists in any context or search for "
|
||||||
. "themedCSS references calling this file in your templates."
|
. "themedCSS references calling this file in your templates."
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@ -1467,7 +1467,7 @@ class Requirements_Backend
|
|||||||
$this->javascript($path, $opts);
|
$this->javascript($path, $opts);
|
||||||
} else {
|
} else {
|
||||||
throw new \InvalidArgumentException(
|
throw new \InvalidArgumentException(
|
||||||
"The javascript file doesn't exists. Please check if the file $name.js exists in any "
|
"The javascript file doesn't exist. Please check if the file $name.js exists in any "
|
||||||
. "context or search for themedJavascript references calling this file in your templates."
|
. "context or search for themedJavascript references calling this file in your templates."
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user