| @@ 587-594 (lines=8) @@ | ||
| 584 | elseif ($failure) |
|
| 585 | { |
|
| 586 | // Load any session data we might have... |
|
| 587 | if (!isset($_POST['ftp_username']) && isset($_SESSION['installer_temp_ftp'])) |
|
| 588 | { |
|
| 589 | $_POST['ftp_server'] = $_SESSION['installer_temp_ftp']['server']; |
|
| 590 | $_POST['ftp_port'] = $_SESSION['installer_temp_ftp']['port']; |
|
| 591 | $_POST['ftp_username'] = $_SESSION['installer_temp_ftp']['username']; |
|
| 592 | $_POST['ftp_password'] = $_SESSION['installer_temp_ftp']['password']; |
|
| 593 | $_POST['ftp_path'] = $_SESSION['installer_temp_ftp']['path']; |
|
| 594 | } |
|
| 595 | ||
| 596 | $incontext['ftp_errors'] = array(); |
|
| 597 | ||
| @@ 3462-3469 (lines=8) @@ | ||
| 3459 | $upcontext['chmod']['path'] = $_SESSION['installer_temp_ftp']['path']; |
|
| 3460 | } |
|
| 3461 | // Or have we submitted? |
|
| 3462 | elseif (isset($_POST['ftp_username'])) |
|
| 3463 | { |
|
| 3464 | $upcontext['chmod']['server'] = $_POST['ftp_server']; |
|
| 3465 | $upcontext['chmod']['port'] = $_POST['ftp_port']; |
|
| 3466 | $upcontext['chmod']['username'] = $_POST['ftp_username']; |
|
| 3467 | $upcontext['chmod']['password'] = $_POST['ftp_password']; |
|
| 3468 | $upcontext['chmod']['path'] = $_POST['ftp_path']; |
|
| 3469 | } |
|
| 3470 | ||
| 3471 | if (isset($upcontext['chmod']['username'])) |
|
| 3472 | { |
|