| @@ 196-203 (lines=8) @@ | ||
| 193 | } |
|
| 194 | ||
| 195 | // Anybody home? |
|
| 196 | if (!isset($_GET['xml'])) |
|
| 197 | { |
|
| 198 | $incontext['remote_files_available'] = false; |
|
| 199 | $test = @fsockopen('www.simplemachines.org', 80, $errno, $errstr, 1); |
|
| 200 | if ($test) |
|
| 201 | $incontext['remote_files_available'] = true; |
|
| 202 | @fclose($test); |
|
| 203 | } |
|
| 204 | ||
| 205 | // Add slashes, as long as they aren't already being added. |
|
| 206 | if (!function_exists('get_magic_quotes_gpc') || @get_magic_quotes_gpc() == 0) |
|
| @@ 955-962 (lines=8) @@ | ||
| 952 | } |
|
| 953 | ||
| 954 | // Anybody home? |
|
| 955 | if (!isset($_GET['xml'])) |
|
| 956 | { |
|
| 957 | $upcontext['remote_files_available'] = false; |
|
| 958 | $test = @fsockopen('www.simplemachines.org', 80, $errno, $errstr, 1); |
|
| 959 | if ($test) |
|
| 960 | $upcontext['remote_files_available'] = true; |
|
| 961 | @fclose($test); |
|
| 962 | } |
|
| 963 | ||
| 964 | // Something is causing this to happen, and it's annoying. Stop it. |
|
| 965 | $temp = 'upgrade_php?step'; |
|