Skip to content

Commit de76af7

Browse files
author
A. Täffner
committed
removed check against web service for install state of panel (when config file is there, installer installed it which assures that webserver is installed and configured - or someone messed around)
1 parent ee403cf commit de76af7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/lib/installer_base.lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ public function find_installed_apps() {
185185
$conf['vlogger']['installed'] = true;
186186
if(is_installed('cron') || is_installed('anacron')) $conf['cron']['installed'] = true;
187187

188-
if ($conf['services']['web'] && (($conf['apache']['installed'] && is_file($conf['apache']["vhost_conf_enabled_dir"]."/000-ispconfig.vhost")) || ($conf['nginx']['installed'] && is_file($conf['nginx']["vhost_conf_enabled_dir"]."/000-ispconfig.vhost")))) $this->ispconfig_interface_installed = true;
188+
if (($conf['apache']['installed'] && is_file($conf['apache']["vhost_conf_enabled_dir"]."/000-ispconfig.vhost")) || ($conf['nginx']['installed'] && is_file($conf['nginx']["vhost_conf_enabled_dir"]."/000-ispconfig.vhost"))) $this->ispconfig_interface_installed = true;
189189
}
190190

191191
public function force_configure_app($service, $enable_force=true) {

0 commit comments

Comments
 (0)