From 7fddfe840a1c8680e9103bc6b93465f3390de7bb Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Thu, 08 Jul 2010 09:56:05 -0400
Subject: [PATCH] - Implemented: FS#1079 - Custom php.ini files for fcgi and mod_php - Fixed a formatting problem with suphp.conf and newer suphp versions.

---
 server/conf/php-cgi-starter.master |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/server/conf/php-cgi-starter.master b/server/conf/php-cgi-starter.master
index 3c00f9d..be30993 100644
--- a/server/conf/php-cgi-starter.master
+++ b/server/conf/php-cgi-starter.master
@@ -1,5 +1,9 @@
 #!/bin/sh
 
+<tmpl_if name='has_custom_php_ini'>
+export PHPRC="<tmpl_var name='php_ini_path'>"
+</tmpl_if>
+
 exec <tmpl_var name='php_cgi_bin'> \
 -d open_basedir=<tmpl_var name='open_basedir'> \
 -d upload_tmp_dir=<tmpl_var name='document_root'>/tmp \

--
Gitblit v1.9.1