mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-25 09:03:42 +00:00
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.
This commit is contained in:
parent
1489253a95
commit
f884900a1b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue