Merge branch 'MDL-58582-master' of https://github.com/Dagefoerde/moodle

This commit is contained in:
Andrew Nicols
2017-04-18 09:20:10 +08:00
+2 -1
View File
@@ -1825,7 +1825,8 @@ class theme_config {
*
* @param string $image name of image, may contain relative path
* @param string $component
* @param bool $svg If set to true SVG images will also be looked for.
* @param bool $svg|null Should SVG images also be looked for? If null, resorts to $CFG->svgicons if that is set; falls back to
* auto-detection of browser support otherwise
* @return string full file path
*/
public function resolve_image_location($image, $component, $svg = false) {