From b9a3ef486ebcde18a5ade37865ff8f397185d24f Mon Sep 17 00:00:00 2001
From: Till Brehm <tbrehm@ispconfig.org>
Date: Sun, 24 Jul 2016 05:30:59 -0400
Subject: [PATCH] Fixed #3979 Mailbox users unable to save autoresponders

---
 install/tpl/apache_ispconfig_fcgi_starter.master |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/install/tpl/apache_ispconfig_fcgi_starter.master b/install/tpl/apache_ispconfig_fcgi_starter.master
index a638732..ab7d13f 100644
--- a/install/tpl/apache_ispconfig_fcgi_starter.master
+++ b/install/tpl/apache_ispconfig_fcgi_starter.master
@@ -1,6 +1,11 @@
 #!/bin/sh
-PHPRC=/etc/php5/cgi/
+PHPRC={fastcgi_phpini_path}
 export PHPRC
 export PHP_FCGI_MAX_REQUESTS=5000
 export PHP_FCGI_CHILDREN=1
-exec /usr/lib/cgi-bin/php -d magic_quotes_gpc=off
\ No newline at end of file
+exec {fastcgi_bin} \
+    -d disable_classes= \
+    -d disable_functions= \
+    -d magic_quotes_gpc=off \
+    -d open_basedir= \
+    -d session.save_path=/usr/local/ispconfig/interface/temp

--
Gitblit v1.9.1