Skip to content

Commit 075a6e7

Browse files
committed
improvments for server under NAT
1 parent 905546c commit 075a6e7

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

web/add/web/index.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,8 +252,7 @@
252252
$hostname = exec('hostname');
253253
$from = "Vesta Control Panel <noreply@".$hostname.">";
254254
$mailtext .= "Your ftp account has been created successfully and is ready to use.\n\n";
255-
$mailtext .= "ip: ".$_POST['v_ip']."\n";
256-
$mailtext .= "domain: ".$_POST['v_domain']."\n";
255+
$mailtext .= "hostname: ".$_POST['v_domain']."\n";
257256
$mailtext .= "username: ".$user."_".$_POST['v_ftp_user']."\n";
258257
$mailtext .= "password: ".$_POST['v_ftp_password']."\n\n";
259258
$mailtext .= "--\nVesta Control Panel\n";

web/edit/web/index.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -536,8 +536,7 @@
536536
$hostname = exec('hostname');
537537
$from = "Vesta Control Panel <noreply@".$hostname.">";
538538
$mailtext .= "Your ftp account has been created successfully and is ready to use.\n\n";
539-
$mailtext .= "ip: ".$v_ip."\n";
540-
$mailtext .= "domain: ".$_GET['domain']."\n";
539+
$mailtext .= "hostname: ".$_GET['domain']."\n";
541540
$mailtext .= "username: ".$user."_".$_POST['v_ftp_user']."\n";
542541
$mailtext .= "password: ".$_POST['v_ftp_password']."\n\n";
543542
$mailtext .= "--\nVesta Control Panel\n";

0 commit comments

Comments
 (0)