Add default avatar and zuul avatar
Change-Id: Ied34bdcb915eb8982fd2855951ad189d3ce2f022
diff --git a/avatar.php b/avatar.php
index aec678e..92f017a 100644
--- a/avatar.php
+++ b/avatar.php
@@ -3,9 +3,7 @@
$username = $_GET['username'] ?? null;
-if (!array_key_exists($username, $USERS)) {
- http_response_code(404);
- exit();
-}
+$avatar_exists = array_key_exists($username, $USERS);
+$avatar = ($avatar_exists ? $USERS[$username] : $DEFAULT_AVATAR);
-header('Location: '.$USERS[$username]);
+header('Location: '.$avatar);