From 033c80139eca868dc63c135e1f9ce5ffbcda4dca Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Tue, 19 Jan 2010 07:31:49 -0500
Subject: [PATCH] Fixed: FS#1001 - Website log files not visible when using FTP

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

diff --git a/server/cron_daily.php b/server/cron_daily.php
index 80f4158..be39402 100644
--- a/server/cron_daily.php
+++ b/server/cron_daily.php
@@ -147,6 +147,12 @@
 }
 
 #######################################################################################################
+// Make the web logfiles directories world readable to enable ftp access
+#######################################################################################################
+
+exec('chmod +r /var/log/ispconfig/httpd/*');
+
+#######################################################################################################
 // Manage and compress web logfiles
 #######################################################################################################
 

--
Gitblit v1.9.1