Changeset 18193
- Timestamp:
- 2009/07/16 06:00:01 (14 years ago)
- Location:
- branches/comu-ver2/html/install
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/comu-ver2/html/install/index.php
r18192 r18193 366 366 } 367 367 368 // STEP0画面の表示( ファイル権限チェック)368 // STEP0画面の表示(チェック) 369 369 function lfDispStep0($objPage) { 370 370 global $objWebParam; … … 392 392 393 393 $mess = ""; 394 $ err_file= false;394 $hasErr = false; 395 395 foreach($arrWriteFile as $val) { 396 396 // listdirsの保持データを初期化 … … 411 411 if(!is_writable($path)) { 412 412 $mess.= ">> ×:$real_path($filemode) <br>ユーザ書込み権限(777, 707等)を付与して下さい。<br>"; 413 $ err_file= true;413 $hasErr = true; 414 414 } else { 415 415 GC_Utils_Ex::gfPrintLog("WRITABLE:".$path, INSTALL_LOG); … … 418 418 if(!is_writable($path)) { 419 419 $mess.= ">> ×:$real_path($filemode) <br>ユーザ書込み権限(666, 606等)を付与して下さい。<br>"; 420 $ err_file= true;420 $hasErr = true; 421 421 } else { 422 422 GC_Utils_Ex::gfPrintLog("WRITABLE:".$path, INSTALL_LOG); … … 425 425 } else { 426 426 $mess.= ">> ×:$path が見つかりません。<br>"; 427 $ err_file= true;427 $hasErr = true; 428 428 } 429 429 } 430 430 } 431 431 432 if (ini_get('safe_mode')) { 433 $mess .= ">> ×:PHPのセーフモードが有効になっています。<br>"; 434 $hasErr = true; 435 } 436 432 437 // 問題点を検出している場合 433 if ($ err_file) {438 if ($hasErr) { 434 439 $objPage->tpl_mode = 'return_step0'; 435 440 } … … 474 479 475 480 $objPage->mess = $mess; 476 $objPage-> err_file = $err_file;481 $objPage->hasErr = $hasErr; 477 482 478 483 return $objPage; -
branches/comu-ver2/html/install/templates/step0.tpl
r18144 r18193 30 30 31 31 <tr><td height="30"></td></tr> 32 <tr><td align="left" class="fs12st">■ アクセス権限のチェック</td></tr>32 <tr><td align="left" class="fs12st">■チェック結果</td></tr> 33 33 <tr> 34 34 <td bgcolor="#cccccc"> … … 47 47 <tr><td height="15"></td></tr> 48 48 <tr><td align="left" class="fs12"> 49 <!--{if $ err_file}-->49 <!--{if $hasErr}--> 50 50 <p>[次へ進む] をクリックすると、チェックを再実行します。</p> 51 51 <div><input type="checkbox" name="mode_overwrite" value="step0" id="mode_overwrite"> <label for="mode_overwrite">問題点を無視して次へ進む (上級者向け)</label></div>
Note: See TracChangeset
for help on using the changeset viewer.