Kristan Kenney 6 лет назад
Родитель
Сommit
543ab293fc
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      web/templates/admin/add_mail_acc.html
  2. 1 1
      web/templates/admin/edit_mail_acc.html

+ 1 - 1
web/templates/admin/add_mail_acc.html

@@ -190,7 +190,7 @@
                         </tr>
                         </tr>
                         <?
                         <?
                             list($http_host, $port) = explode(':', $_SERVER["HTTP_HOST"].":");
                             list($http_host, $port) = explode(':', $_SERVER["HTTP_HOST"].":");
-                            $webmail = "http://webmail.".$v_domain."/";
+                            $webmail = "http://".$v_webmail_alias.".".$v_domain."/";
                         ?>
                         ?>
                         <tr>
                         <tr>
                             <td><?=__('Webmail URL')?>:</td>
                             <td><?=__('Webmail URL')?>:</td>

+ 1 - 1
web/templates/admin/edit_mail_acc.html

@@ -201,7 +201,7 @@
                         </tr>
                         </tr>
                         <?
                         <?
                             list($http_host, $port) = explode(':', $_SERVER["HTTP_HOST"].":");
                             list($http_host, $port) = explode(':', $_SERVER["HTTP_HOST"].":");
-                            $webmail = "http://webmail.".$v_domain."/";
+                            $webmail = "http://".$v_webmail_alias.".$v_domain."/";
                         ?>
                         ?>
                         <tr>
                         <tr>
                             <td><?=__('Webmail URL')?>:</td>
                             <td><?=__('Webmail URL')?>:</td>