From 70dc03098c933c2533bc70e26ef8b3dc222a3e95 Mon Sep 17 00:00:00 2001 From: "Robert Foerster (Dessa)" Date: Sat, 27 Mar 2010 09:44:45 +0000 Subject: [PATCH] revert r695 since we have no way to get the path for awstats.pl at the moment (to appened it to the awbsp command to be able to place it somewhere else then cgi-bin since it doesn't really belong there), so it needs to stay in the same path as we *expect* awstats.pl to be, otherwise it won't work --- scripts/jobs/cron_traffic.inc.functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/jobs/cron_traffic.inc.functions.php b/scripts/jobs/cron_traffic.inc.functions.php index 678d2764..7d43cfe6 100644 --- a/scripts/jobs/cron_traffic.inc.functions.php +++ b/scripts/jobs/cron_traffic.inc.functions.php @@ -41,7 +41,7 @@ function awstatsDoSingleDomain($domain, $outputdir) * debian...pffff, #87 */ if (!file_exists($awbsp)) { - $awbsp = '/usr/share/doc/awstats/examples/awstats_buildstaticpages.pl'; + $awbsp = '/usr/lib/cgi-bin/awstats_buildstaticpages.pl'; } if (!file_exists($awbsp)) {