Jacek Kowalski
2012-08-12 4cc259fef15c9a4212e635d2c62e4c9ddf9b4513
class/BotAPIGG.php
@@ -210,7 +210,10 @@
      $token = $this->getToken();
      
      $tok = $this->httpQuery('https://botapi.gadu-gadu.pl/botmaster/putImage/'.$auth['numer'], array(
         CURLOPT_HTTPHEADER => array('Content-Type: image/x-any'),
         CURLOPT_HTTPHEADER => array(
            'Content-Type: image/x-any',
            'Expect: ',
         ),
         CURLOPT_POST => TRUE,
         CURLOPT_POSTFIELDS => file_get_contents($path),
      ));