Index: /branches/feature-module-update/html/install/index.php
===================================================================
--- /branches/feature-module-update/html/install/index.php	(revision 16679)
+++ /branches/feature-module-update/html/install/index.php	(revision 16724)
@@ -26,5 +26,6 @@
 
 define("INSTALL_LOG", "./temp/install.log");
-
+ini_set("max_execution_time", 300);
+        
 class LC_Page {
     function LC_Page() {
@@ -400,6 +401,6 @@
     $err_file = false;
     foreach($arrWriteFile as $val) {
-		// listdirsの保持データを初期化
-    	initdirs();
+        // listdirsの保持データを初期化
+        initdirs();
         if (is_dir($val)) {
            $arrDirs = listdirs($val);
@@ -418,4 +419,6 @@
                         $mess.= ">> ×：$real_path($mode) <br>ユーザ書込み権限(777, 707等)を付与して下さい。<br>";
                         $err_file = true;
+                    } else {
+                        GC_Utils_Ex::gfPrintLog("WRITABLE：".$path, INSTALL_LOG);
                     }
                 } else {
@@ -423,4 +426,6 @@
                         $mess.= ">> ×：$real_path($mode) <br>ユーザ書込み権限(666, 606等)を付与して下さい。<br>";
                         $err_file = true;
+                    } else {
+                        GC_Utils_Ex::gfPrintLog("WRITABLE：".$path, INSTALL_LOG);
                     }
                 }
@@ -1094,5 +1099,5 @@
 function initdirs() {
     global $alldirs;
-	$alldirs = array();
+    $alldirs = array();
 }
 
Index: /branches/feature-module-update/html/install/templates/step0.tpl
===================================================================
--- /branches/feature-module-update/html/install/templates/step0.tpl	(revision 16582)
+++ /branches/feature-module-update/html/install/templates/step0.tpl	(revision 16724)
@@ -56,9 +56,9 @@
         <td align="center">
         <!--{if !$err_file}-->
-        <a href="#" onmouseover="chgImg('../user_data/templates/default/img/install/back_on.jpg','back')" onmouseout="chgImg('../user_data/templates/default/img/install/back.jpg','back')" onclick="document.form1['mode'].value='return_welcome';document.form1.submit();" /><img  width="105" src="../user_data/templates/default/img/install/back.jpg"  height="24" alt="前へ戻る" border="0" name="back"></a>
-        <input type="image" onMouseover="chgImgImageSubmit('../user_data/templates/default/img/install/next_on.jpg',this)" onMouseout="chgImgImageSubmit('../user_data/templates/default/img/install/next.jpg',this)" src="../user_data/templates/default/img/install/next.jpg" width="105" height="24" alt="次へ進む" border="0" name="next">
+        <a href="#" onmouseover="chgImg('../<!--{$default_dir}-->/img/install/back_on.jpg','back')" onmouseout="chgImg('../<!--{$default_dir}-->/img/install/back.jpg','back')" onclick="document.form1['mode'].value='return_welcome';document.form1.submit();" /><img  width="105" src="../<!--{$default_dir}-->/img/install/back.jpg"  height="24" alt="前へ戻る" border="0" name="back"></a>
+        <input type="image" onMouseover="chgImgImageSubmit('../<!--{$default_dir}-->/img/install/next_on.jpg',this)" onMouseout="chgImgImageSubmit('../<!--{$default_dir}-->/img/install/next.jpg',this)" src="../<!--{$default_dir}-->/img/install/next.jpg" width="105" height="24" alt="次へ進む" border="0" name="next">
         <!--{else}-->
-        <a href="#" onmouseover="chgImg('../user_data/templates/default/img/install/back_on.jpg','back')" onmouseout="chgImg('../user_data/templates/default/img/install/back.jpg','back')" onclick="document.form1['mode'].value='return_welcome';document.form1.submit();" /><img  width="105" src="../user_data/templates/default/img/install/back.jpg"  height="24" alt="前へ戻る" border="0" name="back"></a>
-        <img src="../user_data/templates/default/img/install/next_off.jpg" width="105" height="24" alt="次へ進む" border="0" name="next">
+        <a href="#" onmouseover="chgImg('../<!--{$default_dir}-->/img/install/back_on.jpg','back')" onmouseout="chgImg('../<!--{$default_dir}-->/img/install/back.jpg','back')" onclick="document.form1['mode'].value='return_welcome';document.form1.submit();" /><img  width="105" src="../<!--{$default_dir}-->/img/install/back.jpg"  height="24" alt="前へ戻る" border="0" name="back"></a>
+        <img src="../<!--{$default_dir}-->/img/install/next_off.jpg" width="105" height="24" alt="次へ進む" border="0" name="next">
         <!--{/if}-->
         </td>
Index: /branches/feature-module-update/html/install/templates/step0_1.tpl
===================================================================
--- /branches/feature-module-update/html/install/templates/step0_1.tpl	(revision 16582)
+++ /branches/feature-module-update/html/install/templates/step0_1.tpl	(revision 16724)
@@ -49,6 +49,6 @@
     <tr>
         <td align="center">
-        <a href="#" onmouseover="chgImg('../user_data/templates/default/img/install/back_on.jpg','back')" onmouseout="chgImg('../user_data/templates/default/img/install/back.jpg','back')" onclick="document.form1['mode'].value='return_step0';document.form1.submit();return false;" /><img  width="105" src="../user_data/templates/default/img/install/back.jpg"  height="24" alt="前へ戻る" border="0" name="back"></a>
-        <input type="image" onMouseover="chgImgImageSubmit('../user_data/templates/default/img/install/next_on.jpg',this)" onMouseout="chgImgImageSubmit('../user_data/templates/default/img/install/next.jpg',this)" src="../user_data/templates/default/img/install/next.jpg" width="105" height="24" alt="次へ進む" border="0" name="next">
+        <a href="#" onmouseover="chgImg('../<!--{$default_dir}-->/img/install/back_on.jpg','back')" onmouseout="chgImg('../<!--{$default_dir}-->/img/install/back.jpg','back')" onclick="document.form1['mode'].value='return_step0';document.form1.submit();return false;" /><img  width="105" src="../<!--{$default_dir}-->/img/install/back.jpg"  height="24" alt="前へ戻る" border="0" name="back"></a>
+        <input type="image" onMouseover="chgImgImageSubmit('../<!--{$default_dir}-->/img/install/next_on.jpg',this)" onMouseout="chgImgImageSubmit('../<!--{$default_dir}-->/img/install/next.jpg',this)" src="../<!--{$default_dir}-->/img/install/next.jpg" width="105" height="24" alt="次へ進む" border="0" name="next">
         </td>
     </tr>
Index: /branches/feature-module-update/html/install/templates/welcome.tpl
===================================================================
--- /branches/feature-module-update/html/install/templates/welcome.tpl	(revision 16583)
+++ /branches/feature-module-update/html/install/templates/welcome.tpl	(revision 16724)
@@ -40,5 +40,5 @@
 	<tr>
 		<td align="center">
-		<input type="image" onMouseover="chgImgImageSubmit('../user_data/templates/default/img/install/next_on.jpg',this)" onMouseout="chgImgImageSubmit('../user_data/templates/default/img/install/next.jpg',this)" src="../user_data/templates/default/img/install/next.jpg" width="105" height="24" alt="次へ進む" border="0" name="next">
+		<input type="image" onMouseover="chgImgImageSubmit('../<!--{$default_dir}-->/img/install/next_on.jpg',this)" onMouseout="chgImgImageSubmit('../<!--{$default_dir}-->/img/install/next.jpg',this)" src="../<!--{$default_dir}-->/img/install/next.jpg" width="105" height="24" alt="次へ進む" border="0" name="next">
 		</td>
 	</tr>
Index: /branches/feature-module-update/html/install/templates/step1.tpl
===================================================================
--- /branches/feature-module-update/html/install/templates/step1.tpl	(revision 16582)
+++ /branches/feature-module-update/html/install/templates/step1.tpl	(revision 16724)
@@ -120,6 +120,6 @@
     <tr>
         <td align="center">
-        <a href="#" onmouseover="chgImg('../user_data/templates/default/img/install/back_on.jpg','back')" onmouseout="chgImg('../user_data/templates/default/img/install/back.jpg','back')" onclick="document.form1['mode'].value='return_step0';document.form1.submit();return false;" /><img  width="105" src="../user_data/templates/default/img/install/back.jpg"  height="24" alt="前へ戻る" border="0" name="back"></a>
-        <input type="image" onMouseover="chgImgImageSubmit('../user_data/templates/default/img/install/next_on.jpg',this)" onMouseout="chgImgImageSubmit('../user_data/templates/default/img/install/next.jpg',this)" src="../user_data/templates/default/img/install/next.jpg" width="105" height="24" alt="次へ進む" border="0" name="next">
+        <a href="#" onmouseover="chgImg('../<!--{$default_dir}-->/img/install/back_on.jpg','back')" onmouseout="chgImg('../<!--{$default_dir}-->/img/install/back.jpg','back')" onclick="document.form1['mode'].value='return_step0';document.form1.submit();return false;" /><img  width="105" src="../<!--{$default_dir}-->/img/install/back.jpg"  height="24" alt="前へ戻る" border="0" name="back"></a>
+        <input type="image" onMouseover="chgImgImageSubmit('../<!--{$default_dir}-->/img/install/next_on.jpg',this)" onMouseout="chgImgImageSubmit('../<!--{$default_dir}-->/img/install/next.jpg',this)" src="../<!--{$default_dir}-->/img/install/next.jpg" width="105" height="24" alt="次へ進む" border="0" name="next">
         </td>
     </tr>
Index: /branches/feature-module-update/html/install/templates/step2.tpl
===================================================================
--- /branches/feature-module-update/html/install/templates/step2.tpl	(revision 16582)
+++ /branches/feature-module-update/html/install/templates/step2.tpl	(revision 16724)
@@ -108,6 +108,6 @@
     <tr>
         <td align="center">
-        <a href="#" onmouseover="chgImg('../user_data/templates/default/img/install/back_on.jpg','back')" onmouseout="chgImg('../user_data/templates/default/img/install/back.jpg','back')" onclick="document.form1['mode'].value='return_step1';document.form1.submit();return false;" /><img  width="105" src="../user_data/templates/default/img/install/back.jpg"  height="24" alt="前へ戻る" border="0" name="back"></a>
-        <input type="image" onMouseover="chgImgImageSubmit('../user_data/templates/default/img/install/next_on.jpg',this)" onMouseout="chgImgImageSubmit('../user_data/templates/default/img/install/next.jpg',this)" src="../user_data/templates/default/img/install/next.jpg" width="105" height="24" alt="次へ進む" border="0" name="next">
+        <a href="#" onmouseover="chgImg('../<!--{$default_dir}-->/img/install/back_on.jpg','back')" onmouseout="chgImg('../<!--{$default_dir}-->/img/install/back.jpg','back')" onclick="document.form1['mode'].value='return_step1';document.form1.submit();return false;" /><img  width="105" src="../<!--{$default_dir}-->/img/install/back.jpg"  height="24" alt="前へ戻る" border="0" name="back"></a>
+        <input type="image" onMouseover="chgImgImageSubmit('../<!--{$default_dir}-->/img/install/next_on.jpg',this)" onMouseout="chgImgImageSubmit('../<!--{$default_dir}-->/img/install/next.jpg',this)" src="../<!--{$default_dir}-->/img/install/next.jpg" width="105" height="24" alt="次へ進む" border="0" name="next">
         </td>
     </tr>
Index: /branches/feature-module-update/html/install/templates/step3.tpl
===================================================================
--- /branches/feature-module-update/html/install/templates/step3.tpl	(revision 16582)
+++ /branches/feature-module-update/html/install/templates/step3.tpl	(revision 16724)
@@ -80,6 +80,6 @@
     <tr>
         <td align="center">
-        <a href="#" onmouseover="chgImg('../user_data/templates/default/img/install/back_on.jpg','back')" onmouseout="chgImg('../user_data/templates/default/img/install/back.jpg','back')" onclick="document.form1['mode'].value='return_step2';document.form1.submit();return false;" /><img  width="105" src="../user_data/templates/default/img/install/back.jpg"  height="24" alt="前へ戻る" border="0" name="back"></a>
-        <input type="image" onMouseover="chgImgImageSubmit('../user_data/templates/default/img/install/next_on.jpg',this)" onMouseout="chgImgImageSubmit('../user_data/templates/default/img/install/next.jpg',this)" src="../user_data/templates/default/img/install/next.jpg" width="105" height="24" alt="次へ進む" border="0" name="next" onClick="document.body.style.cursor = 'wait';">
+        <a href="#" onmouseover="chgImg('../<!--{$default_dir}-->/img/install/back_on.jpg','back')" onmouseout="chgImg('../<!--{$default_dir}-->/img/install/back.jpg','back')" onclick="document.form1['mode'].value='return_step2';document.form1.submit();return false;" /><img  width="105" src="../<!--{$default_dir}-->/img/install/back.jpg"  height="24" alt="前へ戻る" border="0" name="back"></a>
+        <input type="image" onMouseover="chgImgImageSubmit('../<!--{$default_dir}-->/img/install/next_on.jpg',this)" onMouseout="chgImgImageSubmit('../<!--{$default_dir}-->/img/install/next.jpg',this)" src="../<!--{$default_dir}-->/img/install/next.jpg" width="105" height="24" alt="次へ進む" border="0" name="next" onClick="document.body.style.cursor = 'wait';">
         </td>
     </tr>
Index: /branches/feature-module-update/html/install/templates/step4.tpl
===================================================================
--- /branches/feature-module-update/html/install/templates/step4.tpl	(revision 16582)
+++ /branches/feature-module-update/html/install/templates/step4.tpl	(revision 16724)
@@ -59,6 +59,6 @@
     <tr>
         <td align="center">
-        <a href="#" onmouseover="chgImg('../user_data/templates/default/img/install/back_on.jpg','back')" onmouseout="chgImg('../user_data/templates/default/img/install/back.jpg','back')" onclick="document.form1['mode'].value='return_step3';document.form1.submit();return false;" /><img  width="105" src="../user_data/templates/default/img/install/back.jpg"  height="24" alt="前へ戻る" border="0" name="back"></a>
-        <input type="image" onMouseover="chgImgImageSubmit('../user_data/templates/default/img/install/next_on.jpg',this)" onMouseout="chgImgImageSubmit('../user_data/templates/default/img/install/next.jpg',this)" src="../user_data/templates/default/img/install/next.jpg" width="105" height="24" alt="次へ進む" border="0" name="next">
+        <a href="#" onmouseover="chgImg('../<!--{$default_dir}-->/img/install/back_on.jpg','back')" onmouseout="chgImg('../<!--{$default_dir}-->/img/install/back.jpg','back')" onclick="document.form1['mode'].value='return_step3';document.form1.submit();return false;" /><img  width="105" src="../<!--{$default_dir}-->/img/install/back.jpg"  height="24" alt="前へ戻る" border="0" name="back"></a>
+        <input type="image" onMouseover="chgImgImageSubmit('../<!--{$default_dir}-->/img/install/next_on.jpg',this)" onMouseout="chgImgImageSubmit('../<!--{$default_dir}-->/img/install/next.jpg',this)" src="../<!--{$default_dir}-->/img/install/next.jpg" width="105" height="24" alt="次へ進む" border="0" name="next">
         </td>
     </tr>
Index: /branches/feature-module-update/html/install/templates/install_frame.tpl
===================================================================
--- /branches/feature-module-update/html/install/templates/install_frame.tpl	(revision 16582)
+++ /branches/feature-module-update/html/install/templates/install_frame.tpl	(revision 16724)
@@ -28,6 +28,7 @@
 <link rel="stylesheet" href="../admin/css/contents.css" type="text/css" >
 <link rel="stylesheet" href="../admin/css/install.css" type="text/css" >
-<script type="text/javascript" src="../user_data/templates/default/js/css.js"></script>
-<script type="text/javascript" src="../user_data/templates/default/js/navi.js"></script>
+<!--{assign var=default_dir value=`$smarty.const.USER_DIR``$smarty.const.USER_PACKAGE_DIR``$smarty.const.DEFAULT_TEMPLATE_NAME`}-->
+<script type="text/javascript" src="../<!--{$default_dir}-->/js/css.js"></script>
+<script type="text/javascript" src="../<!--{$default_dir}-->/js/navi.js"></script>
 <title>EC CUBE インストール画面</title>
 </head>
@@ -35,5 +36,5 @@
 <body bgcolor="#ffffff" text="#000000" link="#006699" vlink="#006699" alink="#006699" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="preLoadImg('<!--{$smarty.const.URL_DIR}-->');<!--{$tpl_onload}-->">
 <noscript>
-<link rel="stylesheet" href="../user_data/templates/default/css/common.css" type="text/css" >
+<link rel="stylesheet" href="../<!--{$default_dir}-->/css/common.css" type="text/css" >
 </noscript>
 <div align="center">
@@ -43,14 +44,14 @@
 <table width="912" border="0" cellspacing="0" cellpadding="0" summary=" ">
     <tr valign="top">
-        <td><img src="../user_data/templates/default/img/header/header_left.jpg" width="17" height="50" alt=""></td>
+        <td><img src="../<!--{$default_dir}-->/img/header/header_left.jpg" width="17" height="50" alt=""></td>
         <td>
-        <table width="878" border="0" cellspacing="0" cellpadding="0" summary=" " background="../user_data/templates/default/img/header/header_bg2.jpg">
+        <table width="878" border="0" cellspacing="0" cellpadding="0" summary=" " background="../<!--{$default_dir}-->/img/header/header_bg2.jpg">
             <tr valign="top">
-                <td><img src="../user_data/templates/default/img/admin/header/logo.jpg" width="230" height="50" alt="EC CUBE" border="0"></td>
+                <td><img src="../<!--{$default_dir}-->/img/admin/header/logo.jpg" width="230" height="50" alt="EC CUBE" border="0"></td>
                 <td width="648" align="right"></td>
             </tr>
         </table>
         </td>
-        <td><img src="../user_data/templates/default/img/header/header_right.jpg" width="17" height="50" alt=""></td>
+        <td><img src="../<!--{$default_dir}-->/img/header/header_right.jpg" width="17" height="50" alt=""></td>
     </tr>
 </table>
@@ -60,5 +61,5 @@
 <table width="912" border="0" cellspacing="0" cellpadding="0" summary=" ">
     <tr valign="top">
-        <td background="../user_data/templates/default/img/common/left_bg.jpg"><img src="../user_data/templates/default/img/common/left.jpg" width="17" height="443" alt=""></td>
+        <td background="../<!--{$default_dir}-->/img/common/left_bg.jpg"><img src="../<!--{$default_dir}-->/img/common/left.jpg" width="17" height="443" alt=""></td>
         <td>
         <!--★★メインコンテンツ★★-->
@@ -69,8 +70,8 @@
                     <tr><td height="40"></td></tr>
                     <tr>
-                        <td colspan="3"><img src="../user_data/templates/default/img/contents/error_top.jpg" width="562" height="14" alt=""></td>
+                        <td colspan="3"><img src="../<!--{$default_dir}-->/img/contents/error_top.jpg" width="562" height="14" alt=""></td>
                     </tr>
                     <tr>
-                        <td background="../user_data/templates/default/img/contents/main_left.jpg"><img src="../user_data/templates/default/img/common/_.gif" width="14" height="1" alt=""></td>
+                        <td background="../<!--{$default_dir}-->/img/contents/main_left.jpg"><img src="../<!--{$default_dir}-->/img/common/_.gif" width="14" height="1" alt=""></td>
                         <td bgcolor="#cccccc">
                         <!--検索条件設定テーブルここから-->
@@ -84,8 +85,8 @@
                         <!--検索条件設定テーブルここまで-->
                         </td>
-                        <td background="../user_data/templates/default/img/contents/main_right.jpg"><img src="../user_data/templates/default/img/common/_.gif" width="14" height="1" alt=""></td>
+                        <td background="../<!--{$default_dir}-->/img/contents/main_right.jpg"><img src="../<!--{$default_dir}-->/img/common/_.gif" width="14" height="1" alt=""></td>
                     </tr>
                     <tr>
-                        <td colspan="3"><img src="../user_data/templates/default/img/contents/error_bottom.jpg" width="562" height="14" alt=""></td>
+                        <td colspan="3"><img src="../<!--{$default_dir}-->/img/contents/error_bottom.jpg" width="562" height="14" alt=""></td>
                     </tr>
                     <tr><td height="40"></td></tr>
@@ -96,5 +97,5 @@
         <!--★★メインコンテンツ★★-->
         </td>
-        <td background="../user_data/templates/default/img/common/right_bg.jpg"><div align="justify"><img src="../user_data/templates/default/img/common/right.jpg" width="17" height="443" alt=""></div></td>
+        <td background="../<!--{$default_dir}-->/img/common/right_bg.jpg"><div align="justify"><img src="../<!--{$default_dir}-->/img/common/right.jpg" width="17" height="443" alt=""></div></td>
     </tr>
 </table>
@@ -104,5 +105,5 @@
 <table width="912" border="0" cellspacing="0" cellpadding="0" summary=" ">
     <tr valign="top">
-        <td background="../user_data/templates/default/img/common/left_bg.jpg"><img src="../user_data/templates/default/img/common/_.gif" width="17" height="1" alt=""></td>
+        <td background="../<!--{$default_dir}-->/img/common/left_bg.jpg"><img src="../<!--{$default_dir}-->/img/common/_.gif" width="17" height="1" alt=""></td>
         <td bgcolor="#636469">
         <table width="878" border="0" cellspacing="0" cellpadding="0" summary=" ">
@@ -111,5 +112,5 @@
                 <table width="840" border="0" cellspacing="0" cellpadding="0" summary=" ">
                     <tr>
-                        <td height="45" align="right"><a href="#top"><img src="../user_data/templates/default/img/admin/common/pagetop.gif" width="105" height="17" alt="GO TO PAGE TOP" border="0"></a></td>
+                        <td height="45" align="right"><a href="#top"><img src="../<!--{$default_dir}-->/img/admin/common/pagetop.gif" width="105" height="17" alt="GO TO PAGE TOP" border="0"></a></td>
                     </tr>
                 </table>
@@ -123,8 +124,8 @@
         </table>
         </td>
-        <td background="../user_data/templates/default/img/common/right_bg.jpg"><img src="../user_data/templates/default/img/common/_.gif" width="17" height="1" alt=""></td>
+        <td background="../<!--{$default_dir}-->/img/common/right_bg.jpg"><img src="../<!--{$default_dir}-->/img/common/_.gif" width="17" height="1" alt=""></td>
     </tr>
     <tr>
-        <td colspan="3"><img src="../user_data/templates/default/img/common/fotter.jpg" width="912" height="19" alt=""></td>
+        <td colspan="3"><img src="../<!--{$default_dir}-->/img/common/fotter.jpg" width="912" height="19" alt=""></td>
     </tr>
     <tr><td height="10"></td></tr>
