diff --git a/Unwetterzentrale/module.php b/Unwetterzentrale/module.php index 31a91f0..712d155 100644 --- a/Unwetterzentrale/module.php +++ b/Unwetterzentrale/module.php @@ -91,16 +91,11 @@ public function RequestInfo() //Download picture $opts = array( - //Remove this after DWD has fixed their missing intermediate certificates! - "ssl"=>array( - "verify_peer"=>false, - "verify_peer_name"=>false - ), - 'http'=>array( - 'method'=>"GET", - 'max_redirects'=>1, - 'header'=>"User-Agent: "."Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36" - ) + 'http'=>array( + 'method'=>"GET", + 'max_redirects'=>1, + 'header'=>"User-Agent: "."Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36" + ) ); $context = stream_context_create($opts);