Changeset 1319769
- Timestamp:
- 01/02/2016 05:29:56 AM (10 years ago)
- File:
-
- 1 edited
-
thunder-port/trunk/simple_html_dom.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
thunder-port/trunk/simple_html_dom.php
r1319396 r1319769 75 75 $dom = new simple_html_dom(null, $lowercase, $forceTagsClosed, $target_charset, $stripRN, $defaultBRText, $defaultSpanText); 76 76 // For sourceforge users: uncomment the next line and comment the retreive_url_contents line 2 lines down if it is not already done. 77 $contents = file_get_contents($url, $use_include_path, $context, $offset); 77 // $contents = file_get_contents($url, $use_include_path, $context, $offset); 78 $contents = wp_remote_get($url, $use_include_path, $context, $offset); 79 $contents = wp_remote_retrieve_body( $contents ); 80 78 81 // Paperg - use our own mechanism for getting the contents as we want to control the timeout. 79 82 //$contents = retrieve_url_contents($url);
Note: See TracChangeset
for help on using the changeset viewer.