Browse Source

Merge pull request #725 from visuddhinanda/laravel

:ambulance: forgot name send email use $_SERVER['SERVER_NAME']
visuddhinanda 4 years ago
parent
commit
a286b9b1b3
3 changed files with 6 additions and 2 deletions
  1. 2 2
      public/app/db/user.php
  2. 4 0
      public/app/term/popup_note.css
  3. 0 0
      public/documents/gitmoji.html

+ 2 - 2
public/app/db/user.php

@@ -175,8 +175,8 @@ class User extends Table
 			$ok = $this->_update(["reset_password_token"=>$resetToken],["reset_password_token"],["email"=>$email]);
 			$ok = $this->_update(["reset_password_token"=>$resetToken],["reset_password_token"],["email"=>$email]);
 			if($ok){
 			if($ok){
 				#send email
 				#send email
-				$resetLink=WWW_SERVER."/app/ucenter/reset.php?token=".$resetToken;
-				$resetString=WWW_SERVER."/app/ucenter/reset.php";
+				$resetLink="https://".$_SERVER['SERVER_NAME']."/app/ucenter/reset.php?token=".$resetToken;
+				$resetString="https://".$_SERVER['SERVER_NAME']."/app/ucenter/reset.php";
 		
 		
 				// 打开文件并读取数据
 				// 打开文件并读取数据
 				$irow=0;
 				$irow=0;

+ 4 - 0
public/app/term/popup_note.css

@@ -98,3 +98,7 @@ code ol {
 	word-break: normal;
 	word-break: normal;
 	font-family: arial;
 	font-family: arial;
 }
 }
+.guide_contence{
+    min-width: 20em;
+    max-width: 100%;
+}

File diff suppressed because it is too large
+ 0 - 0
public/documents/gitmoji.html


Some files were not shown because too many files changed in this diff