{
public function getIconUrl($email, $size = 32)
{
- if ($email == 'anonymous@phorkie') {
+ if ($email == 'anonymous@phorkie'
+ || !$GLOBALS['phorkie']['cfg']['avatars']
+ ) {
return 'phorkie/anonymous.png';
}
$s = new \Services_Libravatar();
+ $s->detectHttps();
return $s->url(
$email,
array(