Index: /temp/trunk/html/admin/design/upload.php
===================================================================
--- /temp/trunk/html/admin/design/upload.php	(revision 10353)
+++ /temp/trunk/html/admin/design/upload.php	(revision 10354)
@@ -29,5 +29,5 @@
 
 // ¥Õ¥¡¥¤¥ë´ÉÍý¥¯¥é¥¹
-$objUpFile = new SC_UploadFile(IMAGE_TEMP_DIR, IMAGE_SAVE_DIR);
+$objUpFile = new SC_UploadFile(USER_TEMPLATE_PATH, USER_TEMPLATE_PATH);
 // ¥Õ¥¡¥¤¥ë¾ðÊó¤Î½é´ü²½
 lfInitFile();
@@ -46,9 +46,6 @@
 	if($ret != "") {
 		$objPage->arrErr['template_file'] = $ret;
-	} else {
+	} else if(count($objPage->arrErr) <= 0) {
 		$objPage->tpl_onload = "alert('¥Æ¥ó¥×¥ì¡¼¥È¥Õ¥¡¥¤¥ë¤ò¥¢¥Ã¥×¥í¡¼¥É¤·¤Þ¤·¤¿¡£');";
-	}
-	// ¥¨¥é¡¼¤¬Ìµ¤«¤Ã¤¿¤é
-	if(count($objPage->arrErr) > 0) {
 	}
 	break;
