summaryrefslogtreecommitdiffstats
path: root/include/functions.php
diff options
context:
space:
mode:
authorArun Persaud <arun@nubati.net>2016-03-05 10:36:38 -0800
committerArun Persaud <arun@nubati.net>2016-04-10 11:30:04 -0700
commitecabf718a77ca979d16ef9d55f8db962fd3e814b (patch)
tree4b3c3a3cbadecd3902217597fa52d48677db5e0f /include/functions.php
parentca925a50d55b02de5ba8f953e2b61c189aafd033 (diff)
downloade-DoKo-ecabf718a77ca979d16ef9d55f8db962fd3e814b.tar.gz
e-DoKo-ecabf718a77ca979d16ef9d55f8db962fd3e814b.tar.bz2
e-DoKo-ecabf718a77ca979d16ef9d55f8db962fd3e814b.zip
use https for gravatar
Diffstat (limited to 'include/functions.php')
-rw-r--r--include/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions.php b/include/functions.php
index 9736182..888be82 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -1073,7 +1073,7 @@ function display_single_user($r,$start=0)
$lastlogin = strtotime($r[6]);
date_default_timezone_set($timezone);
$timenow = strtotime(date("Y-m-d H:i:s"));
- $gravatar = "$name<br />\n <img class=\"gravatar\" title=\"$name\" src=\"http://www.gravatar.com/avatar/".
+ $gravatar = "$name<br />\n <img class=\"gravatar\" title=\"$name\" src=\"https://www.gravatar.com/avatar/".
md5(strtolower(trim($email)))."?d=identicon\" alt=\"$name's gravatar\" />";
echo " <div class=\"table".($pos-1)."\">\n";