PluginProbe
Taboola / 1.0.15
Taboola v1.0.15
1.0.4 1.0.5 1.0.6 1.0.8 2.0.1 2.0.2 2.1.0 2.1.1 2.2.2 2.2.3 3.0.0 3.0.1 3.0.2 3.1.0 trunk 1.0 1.0.1 1.0.10 1.0.11 1.0.12 1.0.13 1.0.14 1.0.15 1.0.2 1.0.3
← All changes | simple_html_dom.php +2 -2 1.0.121.0.15 View file →
@@ -1032,9 +1032,9 @@
1032 1032 function __construct($str=null, $lowercase=true, $forceTagsClosed=true, $target_charset=DEFAULT_TARGET_CHARSET, $stripRN=true, $defaultBRText=DEFAULT_BR_TEXT, $defaultSpanText=DEFAULT_SPAN_TEXT)
1033 1033 {
1034 1034 if ($str)
1035 1035 {
1036 - if (preg_match("/^https:\/\//i",$str) || is_file($str))
1036 + if (preg_match("/^http:\/\//i",$str) || is_file($str))
1037 1037 {
1038 1038 $this->load_file($str);
1039 1039 }
1040 1040 else
@@ -1220,9 +1220,9 @@
1220 1220 }
1221 1221
1222 1222 if (empty($charset))
1223 1223 {
1224 - $el = $this->root->find('meta[https-equiv=Content-Type]',0, true);
1224 + $el = $this->root->find('meta[http-equiv=Content-Type]',0, true);
1225 1225 if (!empty($el))
1226 1226 {
1227 1227 $fullvalue = $el->content;
1228 1228 if (is_object($debug_object)) {$debug_object->debug_log(2, 'meta content-type tag found' . $fullvalue);}