Changeset 18144 for branches/comu-ver2/html/install/index.php
- Timestamp:
- 2009/06/29 12:43:57 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/comu-ver2/html/install/index.php
r18021 r18144 61 61 $objDBParam->setParam($_POST); 62 62 63 switch($_POST['mode']) { 63 $mode = isset($_POST['mode_overwrite']) ? $_POST['mode_overwrite'] : $_POST['mode']; 64 65 switch($mode) { 64 66 // ようこそ 65 67 case 'welcome': … … 376 378 $objPage->arrHidden['agreement'] = $_POST['agreement']; 377 379 $objPage->tpl_mainpage = 'step0.tpl'; 378 $objPage->tpl_mode = 'step0';379 380 380 381 // プログラムで書込みされるファイル・ディレクトリ … … 404 405 foreach ($arrDirs as $path) { 405 406 if(file_exists($path)) { 406 $ mode = lfGetFileMode($path);407 $filemode = lfGetFileMode($path); 407 408 $real_path = realpath($path); 408 409 … … 410 411 if(is_dir($path)) { 411 412 if(!is_writable($path)) { 412 $mess.= ">> ×:$real_path($ mode) <br>ユーザ書込み権限(777, 707等)を付与して下さい。<br>";413 $mess.= ">> ×:$real_path($filemode) <br>ユーザ書込み権限(777, 707等)を付与して下さい。<br>"; 413 414 $err_file = true; 414 415 } else { … … 417 418 } else { 418 419 if(!is_writable($path)) { 419 $mess.= ">> ×:$real_path($ mode) <br>ユーザ書込み権限(666, 606等)を付与して下さい。<br>";420 $mess.= ">> ×:$real_path($filemode) <br>ユーザ書込み権限(666, 606等)を付与して下さい。<br>"; 420 421 $err_file = true; 421 422 } else { … … 430 431 } 431 432 432 // 権限エラー等が発生していない場合 433 if(!$err_file) { 433 // 問題点を検出している場合 434 if ($err_file) { 435 $objPage->tpl_mode = 'return_step0'; 436 } 437 // 問題点を検出していない場合 438 else { 439 $objPage->tpl_mode = 'step0'; 434 440 umask(0); 435 441 $path = HTML_PATH . "upload/temp_template";
Note: See TracChangeset
for help on using the changeset viewer.