Index: temp/trunk/html/admin/design/header.php
===================================================================
--- temp/trunk/html/admin/design/header.php	(revision 5934)
+++ temp/trunk/html/admin/design/header.php	(revision 6085)
@@ -31,6 +31,5 @@
 
 $division = $_POST['division'];
-$tpl_DIR = ROOT_DIR . INCLUDE_DIR;
-$pre_DIR = ROOT_DIR . INCLUDE_DIR. 'preview/';
+$pre_DIR = USER_INC_PATH . 'preview/';
 
 // ¥Ç¡¼¥¿¹¹¿·½èÍý
@@ -43,5 +42,5 @@
 	// ÅÐÏ¿»þ¤Ï¥×¥ì¥Ó¥å¡¼ÍÑ¥Æ¥ó¥×¥ì¡¼¥È¤ò¥³¥Ô¡¼¤¹¤ë
 	if ($_POST['mode'] == 'confirm'){
-		copy($pre_DIR.$division.".tpl", $tpl_DIR.$division.".tpl");
+		copy($pre_DIR.$division.".tpl", USER_INC_PATH . $division . ".tpl");
 		// ´°Î»¥á¥Ã¥»¡¼¥¸¡Ê¥×¥ì¥Ó¥å¡¼»þ¤ÏÉ½¼¨¤·¤Ê¤¤¡Ë
 		$objPage->tpl_onload="alert('ÅÐÏ¿¤¬´°Î»¤·¤Þ¤·¤¿¡£');";
@@ -65,11 +64,11 @@
 		mkdir($pre_DIR);
 	}
-	copy($tpl_DIR . "header.tpl", $pre_DIR . "header.tpl");
-	copy($tpl_DIR . "footer.tpl", $pre_DIR . "footer.tpl");
+	copy(USER_INC_PATH . "header.tpl", $pre_DIR . "header.tpl");
+	copy(USER_INC_PATH . "footer.tpl", $pre_DIR . "footer.tpl");
 	
 	// ¥Ø¥Ã¥À¡¼¥Õ¥¡¥¤¥ë¤ÎÆÉ¤ß¹þ¤ß
-	$header_data = file_get_contents($tpl_DIR . "header.tpl");
+	$header_data = file_get_contents(USER_INC_PATH . "header.tpl");
 	// ¥Õ¥Ã¥¿¡¼¥Õ¥¡¥¤¥ë¤ÎÆÉ¤ß¹þ¤ß
-	$footer_data = file_get_contents($tpl_DIR . "footer.tpl");
+	$footer_data = file_get_contents(USER_INC_PATH . "footer.tpl");
 
 }
