From: dongsheng <dongsheng> Date: Tue, 26 May 2009 01:48:31 +0000 (+0000) Subject: "MDL-19272, fixed undefined ->pixpath in google docs plugin" X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=5b5c385cd84ca6394fd5161c82cd955a81b0126f;p=moodle.git "MDL-19272, fixed undefined ->pixpath in google docs plugin" --- diff --git a/lib/googleapi.php b/lib/googleapi.php index a31d798cd6..8b89abaec1 100644 --- a/lib/googleapi.php +++ b/lib/googleapi.php @@ -305,7 +305,7 @@ class google_docs { 'url' => "{$gdoc->link[0]->attributes()->href}", 'source' => $source, 'date' => usertime(strtotime($gdoc->updated)), - 'thumbnail' => $CFG->pixpath.'/f/'.mimeinfo('icon32', $title) + 'thumbnail' => $CFG->wwwroot.'/pix/f/'.mimeinfo('icon32', $title) ); } }