Permalink
Browse files

Update to jQuery 1.8

Sumh <42424861@qq.com>
  • Loading branch information...
1 parent f20c3fa commit e5359617b744afd11123d5b845cb889e2e8b3674 Sumh committed Aug 10, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 classes/controller/jqdoc.php
  2. BIN jQuery-UI-Reference-1.8.chm
@@ -630,7 +630,10 @@ public static function get($url)
curl_setopt ($ch, CURLOPT_URL, $url);
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT,10);
- return curl_exec($ch);
+
+ $html = curl_exec($ch);
+ curl_close($ch);
+ return $html;
}
} // End Jqdoc
View
Binary file not shown.

0 comments on commit e535961

Please sign in to comment.