From 3a94180e026d9353d13522e8d04cb15b11dc2bb2 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Wed, 24 Feb 2010 08:38:44 -0500
Subject: [PATCH] - Added install instructions for debian 5.0 with dovecot and bind. - Improved debian installer.

---
 server/plugins-available/apache2_plugin.inc.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/server/plugins-available/apache2_plugin.inc.php b/server/plugins-available/apache2_plugin.inc.php
index 2aecc1d..6c72923 100644
--- a/server/plugins-available/apache2_plugin.inc.php
+++ b/server/plugins-available/apache2_plugin.inc.php
@@ -715,7 +715,7 @@
 			$fcgi_tpl->setVar('security_level',intval($web_config["security_level"]));
 			
 			$php_open_basedir = ($data["new"]["php_open_basedir"] == '')?$data["new"]["document_root"]:$data["new"]["php_open_basedir"];
-			$cgi_tpl->setVar('open_basedir', escapeshellcmd($php_open_basedir));
+			$fcgi_tpl->setVar('open_basedir', escapeshellcmd($php_open_basedir));
 				
 			$fcgi_starter_script = escapeshellcmd($fastcgi_starter_path.$fastcgi_config["fastcgi_starter_script"]);
 			file_put_contents($fcgi_starter_script,$fcgi_tpl->grab());

--
Gitblit v1.9.1