Update gravatar.php

changed from http://www.gravatar.com to https://secure.gravatar.com. This should have been default so that any friendica site using ssl would not have to edit this to have a completed ssl setup.
pull/265/head
Taekus 2015-05-18 07:45:41 -07:00
parent 1489253a95
commit f884900a1b
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ function gravatar_lookup($a, &$b) {
$hash = md5(trim(strtolower($b['email']))); $hash = md5(trim(strtolower($b['email'])));
$url = 'http://www.gravatar.com/avatar/' .$hash .'.jpg'; $url = 'https://secure.gravatar.com/avatar/' .$hash .'.jpg';
$url .= '?s=' .$b['size'] .'&r=' .$rating; $url .= '?s=' .$b['size'] .'&r=' .$rating;
if ($default_avatar != "gravatar") if ($default_avatar != "gravatar")
$url .= '&d=' .$default_avatar; $url .= '&d=' .$default_avatar;