Index: trunk/include/config_from_xoops.class.php
===================================================================
--- trunk/include/config_from_xoops.class.php	(revision 92)
+++ trunk/include/config_from_xoops.class.php	(revision 95)
@@ -26,8 +26,13 @@
 	var $module_path;
 	var $module_url;
+	var $module_db_prefix;
+	var $xoops_upload_path;
+	var $xoops_upload_url;
+	
 	
 	function __constructor()	//for PHP5
     {
         $this->ConfigFromXoops();
+       
     }
 
@@ -89,4 +94,14 @@
 			}
 		}
+		
+		//  define from /settings/definition.inc.php (XCL)  or /include/common.php(2016a-JP)
+		$this->xoops_upload_path = $this->xoops_root_path .'/uploads';
+		$this->xoops_upload_url = $this->xoops_url . '/uploads';
+		
+		if ($this->module_name == 'wordpress')
+			$this->module_db_prefix =  $this->xoops_db_prefix  . '_wp_';
+		else
+			$this->module_db_prefix =  $this->xoops_db_prefix  . '_' . $this->module_name . '_';
+		
     }
     
