We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e29caac commit c928f25Copy full SHA for c928f25
includes/functions_ggg.inc.php
@@ -17,7 +17,7 @@ function fetch_page($url, $cookie = '', $redirect_count = 0) {
17
18
curl_close($ch);
19
20
- if ($info['http_code'] == 302) {
+ if ($info['http_code'] == 301 || $info['http_code'] == 302) {
21
return $redirect_count < 5 ? fetch_page($info['redirect_url'], $cookie, $redirect_count + 1) : null;
22
}
23
0 commit comments