diff --git a/app/utils/MsgNotice.php b/app/utils/MsgNotice.php index 4e9b2e4..6c186ac 100644 --- a/app/utils/MsgNotice.php +++ b/app/utils/MsgNotice.php @@ -187,7 +187,7 @@ class MsgNotice $mail_pwd = config_get('mail_pwd'); if (!$mail_name || !$mail_port || !$mail_smtp || !$mail_pwd) return false; $mail = new PHPMailer(true); - $mail->setLanguage('zh_cn', app()->getRootPath().'vendor/phpmailer/phpmailer/language/'); + $mail->setLanguage('zh_cn'); try { $mail->SMTPDebug = 0; $mail->CharSet = 'UTF-8';