diff --git a/theme/yui_combo.php b/theme/yui_combo.php index 2fc010815d8..bd19b5039cc 100644 --- a/theme/yui_combo.php +++ b/theme/yui_combo.php @@ -115,7 +115,8 @@ foreach ($parts as $part) { $contentfile = "$CFG->libdir/yuilib/$part"; } 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; } $filecontent = file_get_contents($contentfile);