From 7ee3c819f01d28606e91c7da42c42ae930effa54 Mon Sep 17 00:00:00 2001
From: ftimme <ft@falkotimme.com>
Date: Wed, 14 Aug 2013 14:49:05 -0400
Subject: [PATCH] - Make sure clients can get only the PHP versions they are allowed to get even if the website is created by admin or a reseller.

---
 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