diff options
author | Nick <nick@somerandomnick.ano> | 2012-03-19 19:37:51 +0000 |
---|---|---|
committer | Nick <nick@somerandomnick.ano> | 2012-03-19 19:37:51 +0000 |
commit | b9a1a619ef0aac59f3ebeef3c7d5d653281d0f99 (patch) | |
tree | 043264c785e1a1b9c8f37238037250536de5eccf /doc/www.powerfulproxy.com/public_html/do_it.php | |
parent | b0766579d3b9c42f31e2dfa870daf528356a29cd (diff) | |
download | resdb-b9a1a619ef0aac59f3ebeef3c7d5d653281d0f99.tar.gz resdb-b9a1a619ef0aac59f3ebeef3c7d5d653281d0f99.zip |
bugfix in powerfulproxy
Diffstat (limited to 'doc/www.powerfulproxy.com/public_html/do_it.php')
-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; |