From 075a6e7aeb8f909f4f71be6b16cbb6c23d949ef0 Mon Sep 17 00:00:00 2001 From: Serghey Rodin Date: Mon, 10 Dec 2012 13:43:46 +0200 Subject: [PATCH] improvments for server under NAT --- web/add/web/index.php | 3 +-- web/edit/web/index.php | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/web/add/web/index.php b/web/add/web/index.php index f205838a5..cd3801a7d 100644 --- a/web/add/web/index.php +++ b/web/add/web/index.php @@ -252,8 +252,7 @@ top_panel($user,$TAB); $hostname = exec('hostname'); $from = "Vesta Control Panel "; $mailtext .= "Your ftp account has been created successfully and is ready to use.\n\n"; - $mailtext .= "ip: ".$_POST['v_ip']."\n"; - $mailtext .= "domain: ".$_POST['v_domain']."\n"; + $mailtext .= "hostname: ".$_POST['v_domain']."\n"; $mailtext .= "username: ".$user."_".$_POST['v_ftp_user']."\n"; $mailtext .= "password: ".$_POST['v_ftp_password']."\n\n"; $mailtext .= "--\nVesta Control Panel\n"; diff --git a/web/edit/web/index.php b/web/edit/web/index.php index 32a62630a..37b7e70d8 100644 --- a/web/edit/web/index.php +++ b/web/edit/web/index.php @@ -536,8 +536,7 @@ top_panel($user,$TAB); $hostname = exec('hostname'); $from = "Vesta Control Panel "; $mailtext .= "Your ftp account has been created successfully and is ready to use.\n\n"; - $mailtext .= "ip: ".$v_ip."\n"; - $mailtext .= "domain: ".$_GET['domain']."\n"; + $mailtext .= "hostname: ".$_GET['domain']."\n"; $mailtext .= "username: ".$user."_".$_POST['v_ftp_user']."\n"; $mailtext .= "password: ".$_POST['v_ftp_password']."\n\n"; $mailtext .= "--\nVesta Control Panel\n";