Index: temp/trunk/html/admin/design/template.php
===================================================================
--- temp/trunk/html/admin/design/template.php	(revision 10533)
+++ temp/trunk/html/admin/design/template.php	(revision 10534)
@@ -252,16 +252,10 @@
 	
 	$chk_tpl = $_POST['check_template'];
-	$taget_tpl_path = $tpl_path . $chk_tpl . "/templates/";
-	$taget_inc_path = $tpl_path . $chk_tpl . "/include/";
-	$taget_css_path = $tpl_path . $chk_tpl . "/css/";
+	$path = $tpl_path . $chk_tpl . "/";
+	$taget_tpl_path = $path . "/templates/";
+	$taget_inc_path = $path . "/include/";
+	$taget_css_path = $path . "/css/";
 	$save_tpl_path = $tpl_path;
 	
-	
-	/*
-	// ¥Æ¥ó¥×¥ì¡¼¥È¥Ç¡¼¥¿¤ò¼èÆÀ¤¹¤ë
-	$objQuery = new SC_Query();
-	$sql = "SELECT template_code,template_name FROM dtb_templates WHERE template_code = ?";
-	$arrTemplate = $objQuery->getall($sql, array($chk_tpl));	
-	*/
 	switch($objPage->tpl_subno_template) {
 		// TOP
@@ -292,13 +286,6 @@
 			break;
 	}
-	/*
-	$taget_tpl_path = $tpl_path . $arrTemplate[0]['template_code'] . "/templates/";
-	$taget_inc_path = $tpl_path . $arrTemplate[0]['template_code'] . "/include/";
-	$taget_css_path = $tpl_path . $arrTemplate[0]['template_code'] . "/css/";
-	*/
-	$save_tpl_path = $tpl_path;
 
 	// ²èÁü¥Ñ¥¹¤ò½ñ¤­´¹¤¨
-	$path = $tpl_path . $chk_tpl . "/";
 	$img_path = '<!--{$smarty.const.URL_DIR}-->img/';
 	$displace_path = '<!--{$smarty.const.URL_DIR}-->'. USER_DIR . 'templates/' . $chk_tpl . '/img/';
