Przeglądaj źródła

improvments for server under NAT

Serghey Rodin 13 lat temu
rodzic
commit
075a6e7aeb
2 zmienionych plików z 2 dodań i 4 usunięć
  1. 1 2
      web/add/web/index.php
  2. 1 2
      web/edit/web/index.php

+ 1 - 2
web/add/web/index.php

@@ -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";

+ 1 - 2
web/edit/web/index.php

@@ -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";