improvments for server under NAT

This commit is contained in:
Serghey Rodin 2012-12-10 13:43:46 +02:00
commit 075a6e7aeb
2 changed files with 2 additions and 4 deletions

View file

@ -252,8 +252,7 @@ top_panel($user,$TAB);
$hostname = exec('hostname');
$from = "Vesta Control Panel <noreply@".$hostname.">";
$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";

View file

@ -536,8 +536,7 @@ top_panel($user,$TAB);
$hostname = exec('hostname');
$from = "Vesta Control Panel <noreply@".$hostname.">";
$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";