Commit a0fdd2c4 authored by Penny Leach's avatar Penny Leach Committed by Nigel McNie
Browse files

replaced no user image photos with png versions.

parent 5042ee64
......@@ -67,12 +67,12 @@ switch ($type) {
}
}
header('Content-type: ' . 'image/gif');
if ($path = theme_get_path('images/no_userphoto' . $size . '.gif')) {
header('Content-type: ' . 'image/png');
if ($path = theme_get_path('images/no_userphoto' . $size . '.png')) {
readfile($path);
exit;
}
readfile(theme_get_path('images/no_userphoto40x40.gif'));
readfile(theme_get_path('images/no_userphoto40x40.png'));
break;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment