From 62083141460db75d13cfec0acd1fa0ea52722034 Mon Sep 17 00:00:00 2001
From: moglia <moglia@ispconfig3>
Date: Tue, 23 Feb 2010 17:08:46 -0500
Subject: [PATCH] Modified loadUserProfile function i discovered using mailuser interface from horfic after many tests and debugs functions recive a value iguals to userid field not sys_userid. I keep sysuser_id testing for compatibility issues no have any idea if this used in another place and added aditional userid test.  Tested all things and used auto-response with roundcube with this modifications all worked fine. More info see here: http://www.howtoforge.com/forums/showthread.php?t=38437&page=15

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

diff --git a/server/plugins-available/apps_vhost_plugin.inc.php b/server/plugins-available/apps_vhost_plugin.inc.php
index 6d93dc3..a87ef5e 100644
--- a/server/plugins-available/apps_vhost_plugin.inc.php
+++ b/server/plugins-available/apps_vhost_plugin.inc.php
@@ -86,6 +86,7 @@
 		$content = str_replace('{apps_vhost_port}', $web_config['apps_vhost_port'], $content);
 		$content = str_replace('{apps_vhost_dir}', $web_config['website_basedir'].'/apps', $content);
 		$content = str_replace('{apps_vhost_servername}', $apps_vhost_servername, $content);
+		$content = str_replace('{apps_vhost_basedir}', $web_config['website_basedir'], $content);
 		
 		
 		// comment out the listen directive if port is 80 or 443

--
Gitblit v1.9.1