ソースを参照

Merge pull request #725 from visuddhinanda/laravel

:ambulance: forgot name send email use $_SERVER['SERVER_NAME']
visuddhinanda 4 年 前
コミット
a286b9b1b3
3 ファイル変更6 行追加2 行削除
  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]);
 			if($ok){
 				#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;

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

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

ファイルの差分が大きいため隠しています
+ 0 - 0
public/documents/gitmoji.html


この差分においてかなりの量のファイルが変更されているため、一部のファイルを表示していません