Skip to content

Commit c4adbe9

Browse files
author
Till Brehm
committed
Merge branch 'SGr33n-develop-patch-58297' into 'develop'
When update ISPConfig, if a custom port is set for the apps vhost domain, then it returns to the default 8081, only on the config file (remains custom on the web panel) Closes #5932 See merge request ispconfig/ispconfig3!1939
2 parents a1d8405 + 4b20cfc commit c4adbe9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

install/lib/installer_base.lib.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2788,6 +2788,11 @@ public function configure_apps_vhost() {
27882788
$apps_vhost_group = escapeshellcmd($conf['web']['apps_vhost_group']);
27892789
$install_dir = escapeshellcmd($conf['web']['website_basedir'].'/apps');
27902790

2791+
//* Get the apps vhost port
2792+
if($this->is_update == true) {
2793+
$conf['web']['apps_vhost_port'] = get_apps_vhost_port_number();
2794+
}
2795+
27912796
$command = 'groupadd '.$apps_vhost_user;
27922797
if(!is_group($apps_vhost_group)) caselog($command.' &> /dev/null 2> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
27932798

0 commit comments

Comments
 (0)