From 4bc030979267303b2ff1668c99af0a4e7089824b Mon Sep 17 00:00:00 2001
From: Michel Kàˆser <mail@michelkaeser.ch>
Date: Sun, 17 May 2015 03:03:48 -0400
Subject: [PATCH] ensure the internal PHP scripts work even if system-wide PHP settings are set that could affect how ISPConfig would work. See FS#3293

---
 server/cron.sh |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/server/cron.sh b/server/cron.sh
index 4aff859..3670e68 100644
--- a/server/cron.sh
+++ b/server/cron.sh
@@ -10,4 +10,8 @@
 fi
 
 cd /usr/local/ispconfig/server
-/usr/bin/php -q /usr/local/ispconfig/server/cron.php
+/usr/bin/php -q \
+    -d disable_classes= \
+    -d disable_functions= \
+    -d open_basedir= \
+    /usr/local/ispconfig/server/cron.php

--
Gitblit v1.9.1