mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Merge branch 'w36_MDL-35168_m23_yuipath' of git://github.com/skodak/moodle into MOODLE_23_STABLE
This commit is contained in:
commit
a31d7a0ed3
1 changed files with 2 additions and 1 deletions
|
@ -109,7 +109,8 @@ foreach ($parts as $part) {
|
||||||
$contentfile = "$CFG->libdir/yui/$part";
|
$contentfile = "$CFG->libdir/yui/$part";
|
||||||
}
|
}
|
||||||
if (!file_exists($contentfile) or !is_file($contentfile)) {
|
if (!file_exists($contentfile) or !is_file($contentfile)) {
|
||||||
$content .= "\n// Combo resource $part ($contentfile) not found!\n";
|
$location = '$CFG->dirroot'.preg_replace('/^'.preg_quote($CFG->dirroot, '/').'/', '', $contentfile);
|
||||||
|
$content .= "\n// Combo resource $part ($location) not found!\n";
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
$filecontent = file_get_contents($contentfile);
|
$filecontent = file_get_contents($contentfile);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue