mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 10:37:42 -07:00
improvments for server under NAT
This commit is contained in:
parent
905546cbfd
commit
075a6e7aeb
2 changed files with 2 additions and 4 deletions
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue