From: tjhunt Date: Fri, 19 Jan 2007 09:59:13 +0000 (+0000) Subject: correct icon path to use $CFG->pixpath. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=7f60ca5ec5a77825e586ee847671b3e5c2d6241e;p=moodle.git correct icon path to use $CFG->pixpath. --- diff --git a/course/search.php b/course/search.php index 3fe51d48c3..843884c569 100644 --- a/course/search.php +++ b/course/search.php @@ -184,11 +184,7 @@ echo ""; echo ""; - if (empty($THEME->custompix)) { - $pixpath = "$CFG->wwwroot/pix"; - } else { - $pixpath = "$CFG->themedir/$CFG->theme/pix"; - } + $pixpath = $CFG->pixpath; // checks whether user can update course settings if (has_capability('moodle/course:update', $coursecontext)) {