wesmiler 4 年之前
父节点
当前提交
8ba39b09cf
共有 3 个文件被更改,包括 6 次插入5 次删除
  1. 1 0
      api/base.php
  2. 2 2
      include/email.fun.php
  3. 3 3
      index.php

+ 1 - 0
api/base.php

@@ -1,5 +1,6 @@
 <?php
 define('IN_SMT',true);
+define('DEBUG_MODE',true);  // ľ÷ĘÔÄŁĘ˝
 define('CURSCRIPT','mobile');
 define('IN_MYMPS', true);
 define('API_PATH', dirname(__FILE__));

+ 2 - 2
include/email.fun.php

@@ -47,8 +47,8 @@ function get_mail_setting(){
 
 //写入邮件发送记录
 function write_mail_sendrecord($email_to,$email_subject,$email_content,$error,$template_id,$check_data=''){
-    $sql = "INSERT INTO `{$GLOBALS['db_mymps']}mail_sendlist` (email,email_subject,email_content,error,last_send,template_id,check_data)VALUES('$email_to','$email_subject','$email_content','$error','".time()."','$template_id','$check_data'),";
-	$GLOBALS['db'] -> query($sql);
+    $sql = "INSERT INTO `{$GLOBALS['db_mymps']}mail_sendlist` (email,email_subject,email_content,error,last_send,template_id,check_data)VALUES('$email_to','$email_subject','$email_content','$error','".time()."','$template_id','$check_data')";
+	$GLOBALS['db']->query($sql);
 }
 
 //发送电子邮件

+ 3 - 3
index.php

@@ -2,12 +2,12 @@
 /*
  * this is not a freeware, use is subject to license terms
  * ============================================================================
- * ??????? mymps?§Ù??????????????????
+ * ??????? mymps?????????????????????
  * ??????: http://zhideyao.cn??
  * ?????????http://zhideyao.cn??
  * ----------------------------------------------------------------------------
- * ????????????????????????????????????????????????????????¨¢?
- * ????????????????¦Ê?????¦Ê????????????
+ * ???????????????????????????????????????????????????????????
+ * ?????????????????????????????????????
  * ============================================================================
  * ???????: ??????????????????
 `*/