Skip to content

Commit 0257dd7

Browse files
author
mcramer
committed
Bugfix again: awstats for vhost subdomains (typing error)
1 parent 5d38524 commit 0257dd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/cron_daily.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ function setConfigVar( $filename, $varName, $varValue ) {
238238
exec($command);
239239
if(is_file($rec['document_root'].'/'.$web_folder.'/stats/index.html')) unlink($rec['document_root'].'/'.$web_folder.'/stats/index.html');
240240
rename($rec['document_root'].'/'.$web_folder.'/stats/awstats.'.$domain.'.html',$rec['document_root'].'/'.$web_folder.'/stats/awsindex.html');
241-
if(!is_file($rec['document_root']."/'.$web_folder.'/stats/index.php")) copy("/usr/local/ispconfig/server/conf/awstats_index.php.master",$rec['document_root']."/".$web_folder."/stats/index.php");
241+
if(!is_file($rec['document_root']."/".$web_folder."/stats/index.php")) copy("/usr/local/ispconfig/server/conf/awstats_index.php.master",$rec['document_root']."/".$web_folder."/stats/index.php");
242242

243243
$app->log('Created awstats statistics with command: '.$command,LOGLEVEL_DEBUG);
244244
} else {

0 commit comments

Comments
 (0)