Skip to content

Commit c4cf4dd

Browse files
committed
Fixed: FS#908 - Webalizer configuration in ispconfig install not work correctly
1 parent f2f2799 commit c4cf4dd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

install/lib/installer_base.lib.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -828,9 +828,9 @@ public function configure_apache()
828828

829829
if(is_file('/etc/webalizer/webalizer.conf')) {
830830
// Change webalizer mode to incremental
831-
replaceLine('/etc/webalizer/webalizer.conf','Incremental no','Incremental yes',0,0);
832-
replaceLine('/etc/webalizer/webalizer.conf','IncrementalName webalizer.current','IncrementalName webalizer.current',0,0);
833-
replaceLine('/etc/webalizer/webalizer.conf','HistoryName webalizer.hist','HistoryName webalizer.hist',0,0);
831+
replaceLine('/etc/webalizer/webalizer.conf','#Incremental','Incremental yes',0,0);
832+
replaceLine('/etc/webalizer/webalizer.conf','#IncrementalName','IncrementalName webalizer.current',0,0);
833+
replaceLine('/etc/webalizer/webalizer.conf','#HistoryName','HistoryName webalizer.hist',0,0);
834834
}
835835

836836
//* add a sshusers group

0 commit comments

Comments
 (0)