替换默认图片

This commit is contained in:
augushong
2020-11-03 20:36:10 +08:00
parent 36dd0e0b5f
commit 7d36a8e2e1
5 changed files with 5 additions and 5 deletions

View File

@@ -76,7 +76,7 @@ function get_source_link($url)
{
if (empty($url)) {
$url = '/static/images/avatar.jpeg';
$url = '/static/images/avatar.png';
}
if (strpos($url, '/') === 0) {
return $url;