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