fix: nav
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
* @author XingMeng
|
||||
* @email hnxsh@foxmail.com
|
||||
* @date 2020年3月8日
|
||||
* 表单控制器
|
||||
* 表单控制器
|
||||
*/
|
||||
namespace app\home\controller;
|
||||
|
||||
@@ -89,7 +89,7 @@ class FormController extends Controller
|
||||
session('lastsub', time()); // 记录最后提交时间
|
||||
$this->log('提交表单数据成功!');
|
||||
if ($this->config('form_send_mail') && $this->config('message_send_to')) {
|
||||
$mail_subject = "【PbootCMS】您有新的" . $value->form_name . "信息,请注意查收!";
|
||||
$mail_subject = "【" . CMSNAME . "】您有新的" . $value->form_name . "信息,请注意查收!";
|
||||
$mail_body .= '<br>来自网站 ' . get_http_url() . ' (' . date('Y-m-d H:i:s') . ')';
|
||||
sendmail($this->config(), $this->config('message_send_to'), $mail_subject, $mail_body);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user