Changeset 18193 for branches/comu-ver2/html/install/index.php
- Timestamp:
- 2009/07/16 06:00:01 (17 years ago)
- File:
-
- 1 edited
-
branches/comu-ver2/html/install/index.php (modified) (6 diffs)
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;
Note: See TracChangeset
for help on using the changeset viewer.
