Skip to content

Commit e92a24a

Browse files
committed
Fixed: FS#744 - Webalizer cron not running on CentOS 5.3
1 parent f99160d commit e92a24a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

install/lib/installer_base.lib.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -808,6 +808,13 @@ public function configure_apache()
808808
exec("ln -s ".$vhost_conf_dir."/ispconfig.conf ".$vhost_conf_enabled_dir."/000-ispconfig.conf");
809809
}
810810

811+
//* make sure that webalizer finds its config file when it is directly in /etc
812+
if(@is_file('/etc/webalizer.conf') && !@is_dir('/etc/webalizer')) {
813+
exec('mkdir /etc/webalizer');
814+
exec('ln -s /etc/webalizer.conf /etc/webalizer/webalizer.conf');
815+
}
816+
817+
811818
}
812819

813820
public function configure_firewall()

0 commit comments

Comments
 (0)