From 6be2e0eb1e8fa4cbf54e6bacd36d5d39a4f3b4f4 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Tue, 13 Aug 2013 09:48:35 -0400
Subject: [PATCH] Fixed: FS#3089 - FTP User Options - ERROR You have no permission for this domain.

---
 install/lib/installer_base.lib.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/install/lib/installer_base.lib.php b/install/lib/installer_base.lib.php
index f98c4ca..47f26c7 100644
--- a/install/lib/installer_base.lib.php
+++ b/install/lib/installer_base.lib.php
@@ -2096,8 +2096,8 @@
 		}
 
 		$root_cron_jobs = array(
-				"* * * * * ".$install_dir."/server/server.sh 2>&1 > /dev/null | while read line; do echo `/bin/date` \"$line\" >> ".$conf['ispconfig_log_dir']."/cron.log; done",
-				"30 00 * * * ".$install_dir."/server/cron_daily.sh  2>&1 > /dev/null | while read line; do echo `/bin/date` \"$line\" >> ".$conf['ispconfig_log_dir']."/cron.log; done"
+				"* * * * * ".$install_dir."/server/server.sh 2>&1 > /dev/null | while read line; do echo `/bin/date` \"\$line\" >> ".$conf['ispconfig_log_dir']."/cron.log; done",
+				"30 00 * * * ".$install_dir."/server/cron_daily.sh 2>&1 > /dev/null | while read line; do echo `/bin/date` \"\$line\" >> ".$conf['ispconfig_log_dir']."/cron.log; done"
 		);
 
 		if ($conf['nginx']['installed'] == true) {

--
Gitblit v1.9.1