From 934c7d1764ecdd739ed342e14056ad3c91c744ba Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Mon, 26 Jul 2010 10:09:30 -0400
Subject: [PATCH] Implemented: FS#1260 - Do not ask for port number during updates - The updater still asks for the port number, but with this update the default number that is shown is read from the vhost file as xaver suggested.

---
 install/update.php |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/install/update.php b/install/update.php
index a1ec71e..a0b9514 100644
--- a/install/update.php
+++ b/install/update.php
@@ -305,7 +305,8 @@
 
 
 //** Customise the port ISPConfig runs on
-$conf['apache']['vhost_port'] = $inst->free_query('ISPConfig Port', '8080');
+$ispconfig_port_number = get_ispconfig_port_number();
+$conf['apache']['vhost_port'] = $inst->free_query('ISPConfig Port', $ispconfig_port_number);
 
 $inst->install_ispconfig();
 

--
Gitblit v1.9.1