| @@ 203-210 (lines=8) @@ | ||
| 200 | } |
|
| 201 | ||
| 202 | // Anybody home? |
|
| 203 | if (!isset($_GET['xml'])) |
|
| 204 | { |
|
| 205 | $incontext['remote_files_available'] = false; |
|
| 206 | $test = @fsockopen('www.simplemachines.org', 80, $errno, $errstr, 1); |
|
| 207 | if ($test) |
|
| 208 | $incontext['remote_files_available'] = true; |
|
| 209 | @fclose($test); |
|
| 210 | } |
|
| 211 | ||
| 212 | // Add slashes, as long as they aren't already being added. |
|
| 213 | if (!function_exists('get_magic_quotes_gpc') || @get_magic_quotes_gpc() == 0) |
|
| @@ 614-621 (lines=8) @@ | ||
| 611 | } |
|
| 612 | ||
| 613 | // Anybody home? |
|
| 614 | if (!isset($_GET['xml'])) |
|
| 615 | { |
|
| 616 | $upcontext['remote_files_available'] = false; |
|
| 617 | $test = @fsockopen('www.simplemachines.org', 80, $errno, $errstr, 1); |
|
| 618 | if ($test) |
|
| 619 | $upcontext['remote_files_available'] = true; |
|
| 620 | @fclose($test); |
|
| 621 | } |
|
| 622 | ||
| 623 | // Something is causing this to happen, and it's annoying. Stop it. |
|
| 624 | $temp = 'upgrade_php?step'; |
|