We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9954d8f commit 8705975Copy full SHA for 8705975
1 file changed
install/lib/install.lib.php
@@ -842,7 +842,7 @@ function is_installed($appname) {
842
843
function get_ispconfig_port_number() {
844
global $conf;
845
- if($conf['nginx']['installed'] == true){
+ if(is_file($conf['nginx']['vhost_conf_dir'].'/ispconfig.vhost')) {
846
$ispconfig_vhost_file = $conf['nginx']['vhost_conf_dir'].'/ispconfig.vhost';
847
$regex = '/listen (\d+)/';
848
} else {
@@ -868,7 +868,7 @@ function get_ispconfig_port_number() {
868
869
function get_apps_vhost_port_number() {
870
871
+ if(is_file($conf['nginx']['vhost_conf_dir'].'/apps.vhost')) {
872
$ispconfig_vhost_file = $conf['nginx']['vhost_conf_dir'].'/apps.vhost';
873
874
0 commit comments