|
@@ 831-832 (lines=2) @@
|
| 828 |
|
'connected' => true, |
| 829 |
|
); |
| 830 |
|
|
| 831 |
|
if (!isset($modSettings['package_path']) || $modSettings['package_path'] != $_POST['ftp_path']) |
| 832 |
|
updateSettings(array('package_path' => $_POST['ftp_path'])); |
| 833 |
|
|
| 834 |
|
// This is now the primary connection. |
| 835 |
|
$package_ftp = $ftp; |
|
@@ 1096-1097 (lines=2) @@
|
| 1093 |
|
'root' => $ftp_root, |
| 1094 |
|
); |
| 1095 |
|
|
| 1096 |
|
if (!isset($modSettings['package_path']) || $modSettings['package_path'] != $_POST['ftp_path']) |
| 1097 |
|
updateSettings(array('package_path' => $_POST['ftp_path'])); |
| 1098 |
|
|
| 1099 |
|
$files = packageRequireFTP($destination_url, $files, $return); |
| 1100 |
|
} |