fix hardcoded awstats-configuration path, fixes #493
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user