mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-21 13:54:26 -07:00
Updated and improved API respones.
This commit is contained in:
parent
387e6c8e0a
commit
859e65647f
33 changed files with 254 additions and 18 deletions
|
@ -327,7 +327,7 @@ if ((!empty($_POST['save'])) && (!empty($_GET['domain'])) && (!empty($_GET['acco
|
|||
}
|
||||
|
||||
list($http_host, $port) = explode(':', $_SERVER["HTTP_HOST"].":");
|
||||
$webmail = "http://".$http_host."/webmail/";
|
||||
$webmail = "/webmail/";
|
||||
if (!empty($_SESSION['MAIL_URL'])) $webmail = $_SESSION['MAIL_URL'];
|
||||
|
||||
if (empty($hostname)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue