From 0f54508018a28d7d8ddd194c1d741aea87a5d513 Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Thu, 09 Dec 2010 07:53:39 -0500 Subject: [PATCH] Fixed awstats bug. --- server/cron_daily.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/server/cron_daily.php b/server/cron_daily.php index e3fc5be..c511178 100644 --- a/server/cron_daily.php +++ b/server/cron_daily.php @@ -185,7 +185,7 @@ if(!@is_dir($statsdir)) mkdir($statsdir); // awstats_buildstaticpages.pl -update -config=mydomain.com -lang=en -dir=/var/www/domain.com/web/stats -awstatsprog=/path/to/awstats.pl - $command = "$awstats_buildstaticpages_pl -update -config='$domain' -lang=en -dir='$statsdir' -awstatsprog='$awstats_pl'"; + $command = "$awstats_buildstaticpages_pl -update -LogFile='$logfile' -config='$domain' -lang=en -dir='$statsdir' -awstatsprog='$awstats_pl'"; if($awstats_pl != '' && $awstats_buildstaticpages_pl != '' && fileowner($awstats_pl) == 0 && fileowner($awstats_buildstaticpages_pl) == 0) { exec($command); -- Gitblit v1.9.1