From 4bce508c611b25867de52cf8b15ab21e8d232a06 Mon Sep 17 00:00:00 2001 From: Till Brehm Date: Wed, 23 May 2018 17:35:03 +0200 Subject: [PATCH] Fixed log type detection in installer. --- install/lib/installer_base.lib.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/install/lib/installer_base.lib.php b/install/lib/installer_base.lib.php index 1417a971b7..7d3092372b 100644 --- a/install/lib/installer_base.lib.php +++ b/install/lib/installer_base.lib.php @@ -1754,6 +1754,12 @@ class installer_base { $tpl = new tpl('apache_ispconfig.conf.master'); $tpl->setVar('apache_version',getapacheversion()); + if($this->is_update == true) { + $tpl->setVar('logging',get_logging_state()); + } else { + $tpl->setVar('logging','yes'); + } + $records = $this->db->queryAllRecords("SELECT * FROM ?? WHERE server_id = ? AND virtualhost = 'y'", $conf['mysql']['master_database'] . '.server_ip', $conf['server_id']); $ip_addresses = array(); -- GitLab