git.cweiske.de
/
surrogator.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
059125f
)
handle default=mm requests
author
Christian Weiske
<cweiske@cweiske.de>
Fri, 17 Aug 2012 15:07:30 +0000
(17:07 +0200)
committer
Christian Weiske
<cweiske@cweiske.de>
Fri, 17 Aug 2012 15:07:30 +0000
(17:07 +0200)
www/avatar.php
patch
|
blob
|
history
diff --git
a/www/avatar.php
b/www/avatar.php
index 16a95829aeaf12fc2d143158c5e01cd4f3b8b3d0..bf2b9bca702347d91b0216717ea9b171207c9bd4 100644
(file)
--- a/
www/avatar.php
+++ b/
www/avatar.php
@@
-83,8
+83,11
@@
if (isset($_GET['default'])) {
if ($_GET['default'] == '404') {
$defaultMode = '404';
$default = '404';
+ } else if ($_GET['default'] == 'mm') {
+ //mystery man fallback image
+ $defaultMode = 'local';
+ $default = 'mm.png';
} else {
- //FIXME: support mm
//local default image
$defaultMode = 'local';
$default = 'default.png';