From 5496915e1961e20891e167656b891d6d69d9ce00 Mon Sep 17 00:00:00 2001 From: "Michael Kaufmann (d00p)" Date: Mon, 29 Nov 2010 06:37:46 +0000 Subject: [PATCH] fix hardcoded awstats-configuration path, fixes #493 --- scripts/jobs/cron_tasks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/jobs/cron_tasks.php b/scripts/jobs/cron_tasks.php index c3d41961..a66a36cb 100644 --- a/scripts/jobs/cron_tasks.php +++ b/scripts/jobs/cron_tasks.php @@ -56,7 +56,7 @@ while($row = $db->fetch_array($result_tasks)) { $awstatsclean['header'] = "## GENERATED BY FROXLOR\n"; $awstatsclean['headerold'] = "## GENERATED BY SYSCP\n"; - $awstatsclean['path'] = '/etc/awstats'; + $awstatsclean['path'] = $settings['system']['awstats_conf']; /** * dont do anyting if the directory not exists