Index: /branches/Ver2.1/xpressme_integration_kit/wp-content/plugins/xpressme/xpressme.php
===================================================================
--- /branches/Ver2.1/xpressme_integration_kit/wp-content/plugins/xpressme/xpressme.php	(revision 401)
+++ /branches/Ver2.1/xpressme_integration_kit/wp-content/plugins/xpressme/xpressme.php	(revision 402)
@@ -189,8 +189,11 @@
 		echo		'<form method="post" action="' . $_SERVER["REQUEST_URI"] . '">'."\n" ;
 		echo			'<table class="form-table">'."\n";
+		$upload_title = __('Media Upload Base Path','xpressme');
+		if($xoops_config->is_wpmu) $upload_title = $upload_title . '(WPMU is not select)';
 		echo				$xpress_config->yes_no_radio_option('is_use_xoops_upload_path',
-												__('Media Upload Base Path','xpressme'),
+												$upload_title,
 												__('Use XOOPS UPLOAD PATH','xpressme'),
-												__('USE WordPress BASE_PATH','xpressme')
+												__('USE WordPress BASE_PATH','xpressme'),
+												$xoops_config->is_wpmu
 												);
 		
Index: /branches/Ver2.1/xpressme_integration_kit/wp-content/plugins/xpressme/xpressme_class.php
===================================================================
--- /branches/Ver2.1/xpressme_integration_kit/wp-content/plugins/xpressme/xpressme_class.php	(revision 401)
+++ /branches/Ver2.1/xpressme_integration_kit/wp-content/plugins/xpressme/xpressme_class.php	(revision 402)
@@ -45,4 +45,9 @@
 	function setDefault()
 	{
+		global $xoops_config;
+		if($xoops_config->is_wpmu)
+			$this->is_use_xoops_upload_path = false;
+		else
+			$this->is_use_xoops_upload_path = true;
 		$this->is_use_xoops_upload_path = true;
 		$this->is_theme_sidebar_disp = false;
@@ -96,4 +101,7 @@
 	function SettingValueWrite($mode)
 	{
+		global $xoops_config;
+		if($xoops_config->is_wpmu) $this->is_use_xoops_upload_path = false;
+
 		$write_options = array (
 			'is_use_xoops_upload_path' => $this->is_use_xoops_upload_path ,
@@ -244,5 +252,7 @@
 		} // end of loop
 
-		global $xoops_db;
+		global $xoops_config;
+		if($xoops_config->is_wpmu) $this->is_use_xoops_upload_path = false;
+
 		$table = get_wp_prefix() . 'group_role';	
 //		$sql=  "SELECT * FROM $table";	
@@ -268,5 +278,5 @@
 	}
 	
-	function yes_no_radio_option($option_name,$option_desc,$yes = '',$no= ''){
+	function yes_no_radio_option($option_name,$option_desc,$yes = '',$no= '' , $disible=false){
 		if (empty( $yes ))  $yes = __('YES','xpressme') ;
 		if (empty( $no ))  $no = __('NO','xpressme') ;
@@ -277,5 +287,5 @@
 		$form .=  '<th><label for="images_to_link">' . $option_desc . "</label></th>\n";
 		$form .=  "<td>\n";
-		$form .=  $this->yes_no_radio_option_sub($option_name,$yes,$no);
+		$form .=  $this->yes_no_radio_option_sub($option_name,$yes,$no,$disible);
 		$form .=  "</td>\n";
 		$form .=  "</tr>\n";
@@ -284,16 +294,17 @@
 	
 	}
-	function yes_no_radio_option_sub($option_name,$yes = '',$no= ''){
+	function yes_no_radio_option_sub($option_name,$yes = '',$no= '',$disible=false){
+		if ($disible) $disible_str = ' disabled="disabled"'; else $disible_str = '';
+
 		if (empty( $yes ))  $yes = __('YES','xpressme') ;
 		if (empty( $no ))  $no = __('NO','xpressme') ;
 		$value = $this->{$option_name};
 		$ans_name = 'ch_' . $option_name;
-		
 		if ($value){
-			$form .= "<label><input type='radio' name='". $ans_name . "' value='1' checked='checked' />" . $yes ."</label><br />\n";
-			$form .= "<label><input type='radio' name='". $ans_name . "' value='0' />". $no . "</label>\n";
+			$form .= "<label><input type='radio' name='". $ans_name . "' value='1' checked='checked' $disible_str />" . $yes ."</label><br />\n";
+			$form .= "<label><input type='radio' name='". $ans_name . "' value='0' $disible_str />". $no . "</label>\n";
 		}else{
-			$form .= "<label><input type='radio' name='". $ans_name . "' value='1' />" . $yes . "</label><br />\n";
-			$form .= "<label><input type='radio' name='". $ans_name . "' value='0' checked='checked' />". $no ."</label>\n";
+			$form .= "<label><input type='radio' name='". $ans_name . "' value='1' $disible_str />" . $yes . "</label><br />\n";
+			$form .= "<label><input type='radio' name='". $ans_name . "' value='0' checked='checked' $disible_str />". $no ."</label>\n";
 		}
 	    return $form;
Index: /trunk/xpressme_integration_kit/wp-content/plugins/xpressme/xpressme.php
===================================================================
--- /trunk/xpressme_integration_kit/wp-content/plugins/xpressme/xpressme.php	(revision 401)
+++ /trunk/xpressme_integration_kit/wp-content/plugins/xpressme/xpressme.php	(revision 402)
@@ -216,8 +216,11 @@
 		echo		'<form method="post" action="' . $_SERVER["REQUEST_URI"] . '">'."\n" ;
 		echo			'<table class="form-table">'."\n";
+		$upload_title = __('Media Upload Base Path','xpressme');
+		if($xoops_config->is_wpmu) $upload_title = $upload_title . '(WPMU is not select)';
 		echo				$xpress_config->yes_no_radio_option('is_use_xoops_upload_path',
-												__('Media Upload Base Path','xpressme'),
+												$upload_title,
 												__('Use XOOPS UPLOAD PATH','xpressme'),
-												__('USE WordPress BASE_PATH','xpressme')
+												__('USE WordPress BASE_PATH','xpressme'),
+												$xoops_config->is_wpmu
 												);
 		
Index: /trunk/xpressme_integration_kit/wp-content/plugins/xpressme/xpressme_class.php
===================================================================
--- /trunk/xpressme_integration_kit/wp-content/plugins/xpressme/xpressme_class.php	(revision 401)
+++ /trunk/xpressme_integration_kit/wp-content/plugins/xpressme/xpressme_class.php	(revision 402)
@@ -48,4 +48,9 @@
 	function setDefault()
 	{
+		global $xoops_config;
+		if($xoops_config->is_wpmu)
+			$this->is_use_xoops_upload_path = false;
+		else
+			$this->is_use_xoops_upload_path = true;
 		$this->is_use_xoops_upload_path = true;
 		$this->is_theme_sidebar_disp = false;
@@ -102,4 +107,7 @@
 	function SettingValueWrite($mode)
 	{
+		global $xoops_config;
+		if($xoops_config->is_wpmu) $this->is_use_xoops_upload_path = false;
+
 		$write_options = array (
 			'is_use_xoops_upload_path' => $this->is_use_xoops_upload_path ,
@@ -256,5 +264,7 @@
 		} // end of loop
 
-		global $xoops_db;
+		global $xoops_config;
+		if($xoops_config->is_wpmu) $this->is_use_xoops_upload_path = false;
+
 		$table = get_wp_prefix() . 'group_role';	
 //		$sql=  "SELECT * FROM $table";	
@@ -280,5 +290,5 @@
 	}
 	
-	function yes_no_radio_option($option_name,$option_desc,$yes = '',$no= ''){
+	function yes_no_radio_option($option_name,$option_desc,$yes = '',$no= '' , $disible=false){
 		if (empty( $yes ))  $yes = __('YES','xpressme') ;
 		if (empty( $no ))  $no = __('NO','xpressme') ;
@@ -289,5 +299,5 @@
 		$form .=  '<th><label for="images_to_link">' . $option_desc . "</label></th>\n";
 		$form .=  "<td>\n";
-		$form .=  $this->yes_no_radio_option_sub($option_name,$yes,$no);
+		$form .=  $this->yes_no_radio_option_sub($option_name,$yes,$no,$disible);
 		$form .=  "</td>\n";
 		$form .=  "</tr>\n";
@@ -296,16 +306,17 @@
 	
 	}
-	function yes_no_radio_option_sub($option_name,$yes = '',$no= ''){
+	function yes_no_radio_option_sub($option_name,$yes = '',$no= '',$disible=false){
+		if ($disible) $disible_str = ' disabled="disabled"'; else $disible_str = '';
+
 		if (empty( $yes ))  $yes = __('YES','xpressme') ;
 		if (empty( $no ))  $no = __('NO','xpressme') ;
 		$value = $this->{$option_name};
 		$ans_name = 'ch_' . $option_name;
-		
 		if ($value){
-			$form .= "<label><input type='radio' name='". $ans_name . "' value='1' checked='checked' />" . $yes ."</label><br />\n";
-			$form .= "<label><input type='radio' name='". $ans_name . "' value='0' />". $no . "</label>\n";
+			$form .= "<label><input type='radio' name='". $ans_name . "' value='1' checked='checked' $disible_str />" . $yes ."</label><br />\n";
+			$form .= "<label><input type='radio' name='". $ans_name . "' value='0' $disible_str />". $no . "</label>\n";
 		}else{
-			$form .= "<label><input type='radio' name='". $ans_name . "' value='1' />" . $yes . "</label><br />\n";
-			$form .= "<label><input type='radio' name='". $ans_name . "' value='0' checked='checked' />". $no ."</label>\n";
+			$form .= "<label><input type='radio' name='". $ans_name . "' value='1' $disible_str />" . $yes . "</label><br />\n";
+			$form .= "<label><input type='radio' name='". $ans_name . "' value='0' checked='checked' $disible_str />". $no ."</label>\n";
 		}
 	    return $form;
