From 06331a4eac043749d184958dcfa3820c7fdb4df1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E8=83=A1?= <3203164629@qq.com> Date: Wed, 10 Jul 2024 02:46:00 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=8D=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E7=BD=91=E7=AB=99logo=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 小胡 <3203164629@qq.com> --- core/function/function_mail.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/function/function_mail.php b/core/function/function_mail.php index 2cb2622..274570d 100644 --- a/core/function/function_mail.php +++ b/core/function/function_mail.php @@ -25,9 +25,9 @@ function sendmail($toemail, $subject, $message, $from = '') { $sitename=$_G['setting']['sitename']; $sitecopyright=replacesitevar($_G['setting']['sitecopyright']); if(!$_G['setting']['bbclosed']){ - $sitelogo=$_G['setting']['sitelogo']?'index.php?mod=io&op=thumbnail&size=small&path='.dzzencode('attach::'.$_G['setting']['sitelogo']):'static/image/common/logo.png'; + $sitelogo=$_G['setting']['sitelogo']?$_G['siteurl'].'index.php?mod=io&op=thumbnail&size=small&path='.dzzencode('attach::'.$_G['setting']['sitelogo']):$_G['siteurl'].'static/image/common/logo.png'; }else{ - $sitelogo='static/image/common/logo.png'; + $sitelogo=$_G['siteurl'].'static/image/common/logo.png'; } $message = << @@ -42,8 +42,8 @@ function sendmail($toemail, $subject, $message, $from = '') { -

- +

+ $sitename