Skip to content

Commit

Permalink
Removed redundant decode, apparently I got over-excited.
Browse files Browse the repository at this point in the history
  • Loading branch information
timcooper committed Oct 26, 2011
1 parent 2bc26bf commit aa600bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adaptive-images.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
/* get all of the required data from the HTTP request */
$document_root = $_SERVER['DOCUMENT_ROOT'];
$requested_uri = parse_url(urldecode($_SERVER['REQUEST_URI']), PHP_URL_PATH);
$requested_file = basename(urldecode($requested_uri));
$requested_file = basename($requested_uri);
$source_file = $document_root.$requested_uri;
$resolution = FALSE;

Expand Down

0 comments on commit aa600bf

Please sign in to comment.