| @@ 183-190 (lines=8) @@ | ||
| 180 | } |
|
| 181 | ||
| 182 | // Anybody home? |
|
| 183 | if (!isset($_GET['xml'])) |
|
| 184 | { |
|
| 185 | $incontext['remote_files_available'] = false; |
|
| 186 | $test = @fsockopen('www.simplemachines.org', 80, $errno, $errstr, 1); |
|
| 187 | if ($test) |
|
| 188 | $incontext['remote_files_available'] = true; |
|
| 189 | @fclose($test); |
|
| 190 | } |
|
| 191 | ||
| 192 | // Add slashes, as long as they aren't already being added. |
|
| 193 | if (!function_exists('get_magic_quotes_gpc') || @get_magic_quotes_gpc() == 0) |
|
| @@ 558-565 (lines=8) @@ | ||
| 555 | } |
|
| 556 | ||
| 557 | // Anybody home? |
|
| 558 | if (!isset($_GET['xml'])) |
|
| 559 | { |
|
| 560 | $upcontext['remote_files_available'] = false; |
|
| 561 | $test = @fsockopen('www.simplemachines.org', 80, $errno, $errstr, 1); |
|
| 562 | if ($test) |
|
| 563 | $upcontext['remote_files_available'] = true; |
|
| 564 | @fclose($test); |
|
| 565 | } |
|
| 566 | ||
| 567 | // Something is causing this to happen, and it's annoying. Stop it. |
|
| 568 | $temp = 'upgrade_php?step'; |
|