aboutsummaryrefslogtreecommitdiff
path: root/start.php
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2012-02-25 01:38:29 +0100
committerSem <sembrestels@riseup.net>2012-02-25 01:38:29 +0100
commit8ccd45aa77d290906fd42dcf5520a434303d4f68 (patch)
treef1cb3ccc39ce4e8a4ebafb68e414c0c963790dc6 /start.php
parent3a948fa46583e2419388d0c04e910f5d69721d3e (diff)
downloadelgg-8ccd45aa77d290906fd42dcf5520a434303d4f68.tar.gz
elgg-8ccd45aa77d290906fd42dcf5520a434303d4f68.tar.bz2
Saving thumbnails in server and serving them secure.
Diffstat (limited to 'start.php')
-rw-r--r--start.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/start.php b/start.php
index 4c29549eb..ff668f00c 100644
--- a/start.php
+++ b/start.php
@@ -255,7 +255,7 @@ function videolist_icon_url_override($hook, $type, $returnvalue, $params) {
// tiny thumbnails are too small to be useful, so give a generic video icon
if ($size != 'tiny' && isset($videolist_item->thumbnail)) {
- return $videolist_item->thumbnail;
+ return elgg_get_site_url() . "mod/videolist/thumbnail.php?guid=" . $videolist_item->guid;
}
if (in_array($size, array('tiny', 'small', 'medium'))){