Permalink
Browse files

replace file_get_contents() with fetchUrl()

git-svn-id: http://httparchive.googlecode.com/svn/trunk@1136 fc7d47d3-c008-acd5-f51f-d19787b8a02f
  • Loading branch information...
1 parent bdfadbf commit d5254e8c06fc9e0b5d6a7a4b85c828cddfa5a053 stevesoudersorg@gmail.com committed Feb 12, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 harviewer.js
View
@@ -7,7 +7,7 @@ $wptrun = getParam("wptrun");
$bCached = getParam("cached", 0);
if ( $wptid && $wptrun ) {
$target = wptHarFileUrl($wptid, $wptrun, $bCached);
- echo file_get_contents($target) . ";\n";
+ echo fetchUrl($target) . ";\n";
}
else if ( array_key_exists('u', $_GET) ) {
dprint("ERROR: harviewer.js was accessed using the *deprecated* \"u\" querystring parameter.");

0 comments on commit d5254e8

Please sign in to comment.