... |
... |
@@ -72,7 +72,7 @@ function file_get_html($url, $use_include_path = false, $context=null, $offset =
|
72 |
72 |
// We DO force the tags to be terminated.
|
73 |
73 |
$dom = new simple_html_dom(null, $lowercase, $forceTagsClosed, $target_charset, $stripRN, $defaultBRText, $defaultSpanText);
|
74 |
74 |
// For sourceforge users: uncomment the next line and comment the retreive_url_contents line 2 lines down if it is not already done.
|
75 |
|
- $contents = file_get_contents($url, $use_include_path, $context, $offset);
|
|
75 |
+ $contents = file_get_contents($url, $use_include_path, $context);
|
76 |
76 |
// Paperg - use our own mechanism for getting the contents as we want to control the timeout.
|
77 |
77 |
//$contents = retrieve_url_contents($url);
|
78 |
78 |
if (empty($contents) || strlen($contents) > MAX_FILE_SIZE)
|
... |
... |
@@ -1718,4 +1718,4 @@ class simple_html_dom
|
1718 |
1718 |
function loadFile() {$args = func_get_args();$this->load_file($args);}
|
1719 |
1719 |
}
|
1720 |
1720 |
|
1721 |
|
-?>
|
1722 |
1721 |
\ No newline at end of file
|
|
1722 |
+?>
|