Skip to content
Snippets Groups Projects
Commit d7cfd72a authored by Falko Timme's avatar Falko Timme
Browse files

- Fixed "PHP Notice: Undefined property:...

- Fixed "PHP Notice:  Undefined property: installer::$ispconfig_interface_installed in /tmp/trunk/install/update.php on line 337" when updating an ISPConfig server with nginx.
parent 2eb5d1be
No related branches found
No related tags found
No related merge requests found
......@@ -137,7 +137,7 @@ class installer_base {
if(is_installed('vzctl')) $conf['openvz']['installed'] = true;
if(is_dir("/etc/Bastille")) $conf['bastille']['installed'] = true;
if ($conf['services']['web'] && $conf['apache']['installed'] && is_file($conf['apache']["vhost_conf_enabled_dir"]."/000-ispconfig.vhost")) $this->ispconfig_interface_installed = true;
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;
}
/** Create the database for ISPConfig */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment