Index: trunk/xpressme_integration_kit/class/config_from_xoops.class.php
===================================================================
--- trunk/xpressme_integration_kit/class/config_from_xoops.class.php	(revision 669)
+++ trunk/xpressme_integration_kit/class/config_from_xoops.class.php	(revision 697)
@@ -48,4 +48,5 @@
 	var $xoops_db_charset;
 	var $xoops_db_pconnect;
+	var $xoops_path;
 	
 	function __constructor()	//for PHP5
@@ -138,6 +139,10 @@
 						$this->module_url = $this->xoops_url . '/modules/' . $this->module_name;
 						break;
+					case  'XOOPS_PATH':
+						$this->xoops_path = $this->xpress_eval($key_value);						
 					case  'XOOPS_TRUST_PATH':
 						$this->xoops_trust_path = $this->xpress_eval($key_value);
+						if ($this->xoops_trust_path ==  'XOOPS_PATH')
+							$this->xoops_trust_path = $this->xoops_path;
 						break;
 					case  'XOOPS_DB_PREFIX':
