Skip to content

Commit 1b36419

Browse files
author
ptcong
committed
fix typo
1 parent 1707cfa commit 1b36419

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Plugins/Postimage.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin for http://postimage.org
44
*
55
* @release Jun 19, 2014
6-
* @lastupdate Mar 207, 2015
6+
* @lastupdate Mar 7, 2015
77
*/
88
class ChipVN_ImageUploader_Plugins_Postimage extends ChipVN_ImageUploader_Plugins_Abstract
99
{
@@ -178,6 +178,8 @@ private function getImageFromResult($url)
178178
&& $url = $this->getMatch('#id="code_1".*?>(http.*?)<#i', $this->client)
179179
) {
180180
// try to fetch direct link from image page
181+
// tell postimage that i'm other browser
182+
// don't hide result with me, lol :v
181183
$this->resetHttpClient()
182184
->setUserAgent('Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.76 Safari/537.36')
183185
->execute($url);

0 commit comments

Comments
 (0)