Skip to content

Commit 4bce508

Browse files
author
Till Brehm
committed
Fixed log type detection in installer.
1 parent 655547b commit 4bce508

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

install/lib/installer_base.lib.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1754,6 +1754,12 @@ public function configure_apache() {
17541754
$tpl = new tpl('apache_ispconfig.conf.master');
17551755
$tpl->setVar('apache_version',getapacheversion());
17561756

1757+
if($this->is_update == true) {
1758+
$tpl->setVar('logging',get_logging_state());
1759+
} else {
1760+
$tpl->setVar('logging','yes');
1761+
}
1762+
17571763
$records = $this->db->queryAllRecords("SELECT * FROM ?? WHERE server_id = ? AND virtualhost = 'y'", $conf['mysql']['master_database'] . '.server_ip', $conf['server_id']);
17581764
$ip_addresses = array();
17591765

0 commit comments

Comments
 (0)