Gitiles
Code Review
Sign In
gerrit.avm99963.com
/
gerrit-avatars
/
520b91ceecf23960c526d6eaadd30661007345d4
/
.
/
avatar.php
blob: 92f017a5bb41ca24d711ac014d7f5948db9f26b5 [
file
] [
log
] [
blame
]
<?
php
require
(
'config_avatars.php'
);
$username
=
$_GET
[
'username'
]
??
null
;
$avatar_exists
=
array_key_exists
(
$username
,
$USERS
);
$avatar
=
(
$avatar_exists
?
$USERS
[
$username
]
:
$DEFAULT_AVATAR
);
header
(
'Location: '
.
$avatar);