mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
NOBUG fix typo in exception message.
This commit is contained in:
parent
9aba73563d
commit
44fab7fa46
1 changed files with 1 additions and 1 deletions
|
@ -352,7 +352,7 @@ class page_requirements_manager {
|
||||||
if (debugging()) {
|
if (debugging()) {
|
||||||
// check file existence only when in debug mode
|
// check file existence only when in debug mode
|
||||||
if (!file_exists($CFG->dirroot . strtok($url, '?'))) {
|
if (!file_exists($CFG->dirroot . strtok($url, '?'))) {
|
||||||
throw new coding_exception('Attept to require a JavaScript file that does not exist.', $url);
|
throw new coding_exception('Attempt to require a JavaScript file that does not exist.', $url);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!empty($CFG->cachejs) and !empty($CFG->jsrev) and strpos($url, '/lib/editor/') !== 0) {
|
if (!empty($CFG->cachejs) and !empty($CFG->jsrev) and strpos($url, '/lib/editor/') !== 0) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue