]> git.mjollnir.org Git - moodle.git/commitdiff
"MDL-19272, fixed undefined ->pixpath in google docs plugin"
authordongsheng <dongsheng>
Tue, 26 May 2009 01:48:31 +0000 (01:48 +0000)
committerdongsheng <dongsheng>
Tue, 26 May 2009 01:48:31 +0000 (01:48 +0000)
lib/googleapi.php

index a31d798cd6b1c93231dee4c4e8f88bd0b2ef32f1..8b89abaec1c93327296b8829768ea8ab509fe6a3 100644 (file)
@@ -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)
                 );
             }
         }