add .htaccess and raw dir to zip
[surrogator.git] / www / avatar.php
index 16a95829aeaf12fc2d143158c5e01cd4f3b8b3d0..09bf19711504f21d2e2bed8fae2fe41a42d98da0 100644 (file)
@@ -10,7 +10,7 @@
  * @package  Surrogator
  * @author   Christian Weiske <cweiske@cweiske.de>
  * @license  http://www.gnu.org/licenses/agpl.html AGPLv3 or later
- * @link     http://git.cweiske.de/?p=surrogator.git
+ * @link     https://sourceforge.net/p/surrogator/
  */
 namespace surrogator;
 $cfgFile = __DIR__ . '/../data/surrogator.config.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';