1
1
mirror of https://github.com/renbaoshuo/S2OJ.git synced 2025-03-30 18:37:03 +00:00

chore: gravatar mirror

This commit is contained in:
Baoshuo Ren 2023-02-09 11:42:55 +08:00
parent 21dbab3f6c
commit 04732e74e1
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

@ -83,7 +83,7 @@ class HTML {
return "https://q1.qlogo.cn/g?b=qq&nk={$user['qq']}&s=$s";
}
return '//gravatar.loli.net/avatar/' . md5(strtolower(trim($user['email']))) . "?d=mm&s=$size";
return 'https://cravatar.cn/avatar/' . md5(strtolower(trim($user['email']))) . "?d=404&s=$size";
}
public static function tablist($tabs_info, $cur, $type = 'nav-tabs') {