Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
sgrodzicki committed Jan 14, 2012
1 parent 16adc75 commit a6a41d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/PunyPNG.php
Expand Up @@ -127,6 +127,7 @@ protected function _imageValidation($filepath)
protected function _sendRequest($filepath)
{
$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, self::API_URI);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
Expand Down

0 comments on commit a6a41d7

Please sign in to comment.