diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/www.powerfulproxy.com/public_html/do_it.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/www.powerfulproxy.com/public_html/do_it.php b/doc/www.powerfulproxy.com/public_html/do_it.php index 48c128e..8274259 100644 --- a/doc/www.powerfulproxy.com/public_html/do_it.php +++ b/doc/www.powerfulproxy.com/public_html/do_it.php @@ -77,9 +77,8 @@ if ($info['http_code'] === 301) { header('Location: '.$redirurl); } } -} else { - if (in_array(strtok($info['content_type'], ';'), $REWRITE_CONTENT_TYPES)) $data = preg_replace(array_keys($REWRITE_PATTERNS), array_values($REWRITE_PATTERNS), $data, -1, $count); } +if (in_array(strtok($info['content_type'], ';'), $REWRITE_CONTENT_TYPES)) $data = preg_replace(array_keys($REWRITE_PATTERNS), array_values($REWRITE_PATTERNS), $data, -1, $count); header('Content-Length: '.strlen($data)); echo $data; |