|
|
@@ -23,10 +23,10 @@ if (PHP_SAPI == "cli") {
|
|
|
$invitecode = "invitecode://".$uuid;
|
|
|
$redis->set($invitecode,$email);
|
|
|
$redis->expire($invitecode,7*20*3600);
|
|
|
- $SignUpLink="https://".$_SERVER['SERVER_NAME'] . "/app/ucenter/sign_up.php?invite=".$uuid;
|
|
|
- $SignUpString="https://".$_SERVER['SERVER_NAME'] . "/app/ucenter/sign_up.php";
|
|
|
+ $SignUpLink="https://".$_SERVER['HTTP_HOST'] . "/app/ucenter/sign_up.php?invite=".$uuid;
|
|
|
+ $SignUpString="https://".$_SERVER['HTTP_HOST'] . "/app/ucenter/sign_up.php";
|
|
|
|
|
|
- // 打开文件并读取数据
|
|
|
+ // 打开文件并读取数据
|
|
|
$irow=0;
|
|
|
$strSubject = "";
|
|
|
$strBody = "";
|