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