StaticController: fix gravatar sample img header

This commit is contained in:
Thomas Gelf 2014-08-21 18:42:01 +02:00
parent 8733238a6e
commit af97db31d7
1 changed files with 1 additions and 1 deletions

View File

@ -30,8 +30,8 @@ class StaticController extends ActionController
public function gravatarAction()
{
header('Content-Type: image/jpg');
$img = file_get_contents('http://www.gravatar.com/avatar/' . md5(strtolower(trim($this->_request->getParam('email')))) . '?s=200&d=mm');
header('image/jpeg');
echo $img;
}