From a15860c8b9072975635a8a65a1ed3f6b57d5cb4b Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Thu, 14 Oct 2010 13:57:12 -0400
Subject: [PATCH] Updated dutch language files.

---
 server/cron_daily.php |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/server/cron_daily.php b/server/cron_daily.php
index 05df3d3..e9aedac 100644
--- a/server/cron_daily.php
+++ b/server/cron_daily.php
@@ -170,6 +170,17 @@
 	$awstats_pl = $web_config['awstats_pl'];
 	$awstats_buildstaticpages_pl = $web_config['awstats_buildstaticpages_pl'];
 	
+	$awstats_conf_dir = $web_config['awstats_conf_dir'];
+	$awstats_website_conf_file = $web_config['awstats_conf_dir'].'/awstats.'.$domain.'.conf';
+	
+	if(!is_file($awstats_website_conf_file)) {
+		$awstats_conf_file_content = 'Include "'.$awstats_conf_dir.'/awstats.conf"
+LogFile="/var/log/ispconfig/httpd/'.$domain.'/access.log"
+SiteDomain="'.$domain.'"
+HostAliases="www.'.$domain.' localhost 127.0.0.1"';
+		file_put_contents($awstats_website_conf_file,$awstats_conf_file_content);
+	}
+	
 	
 	if(!@is_dir($statsdir)) mkdir($statsdir);
 	

--
Gitblit v1.9.1