- possibility to enter a different path for 'awstats.pl' because it might not be in the same directory as 'awstats_buildsstaticpages.pl', fixes #343

This commit is contained in:
Michael Kaufmann (d00p)
2010-08-10 12:07:53 +00:00
parent ee29c406ab
commit 90bd5c3512
8 changed files with 45 additions and 4 deletions

View File

@@ -78,7 +78,7 @@ function awstatsDoSingleDomain($domain, $outputdir)
* check for correct path of awstats_buildstaticpages.pl
*/
$awbsp = makeCorrectFile($settings['system']['awstats_path'].'/awstats_buildstaticpages.pl');
$awprog = makeCorrectFile($settings['system']['awstats_path'].'/awstats.pl');
$awprog = makeCorrectFile($settings['system']['awstats_awstatspath'].'/awstats.pl');
if (!file_exists($awbsp)) {
echo "WANRING: Necessary awstats_buildstaticpages.pl script could not be found, no traffic is being calculated and no stats are generated. Please check your AWStats-Path setting";