Gitiles
Code Review
Sign In
gerrit.avm99963.com
/
gerrit-avatars
/
b74fabacd8e84ff3ab952dfbc2a63658da30bba2
/
.
/
avatar.php
blob: aec678ec2243ed111c3c6cf09dffa3a297ad786b [
file
] [
log
] [
blame
]
Adrià Vilanova MartÃnez
06fd5f4
2021-06-09 00:16:45 +0200
[
diff
] [
blame
]
1
<?
php
2
require
(
'config_avatars.php'
);
3
4
$username
=
$_GET
[
'username'
]
??
null
;
5
6
if
(!
array_key_exists
(
$username
,
$USERS
))
{
7
http_response_code
(
404
);
8
exit
();
9
}
10
11
header
(
'Location: '
.
$USERS
[
$username
]);