changeset 108:025530e37dcd extractapp

for ssl protocol
author Calvin Yeh <cyeh@mpipw-berlin.mpg.com>
date Tue, 21 Mar 2017 18:23:05 +0100
parents 7f2c5d542616
children b74bfc633790
files models/extractapp.php
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/models/extractapp.php	Tue Mar 21 18:21:10 2017 +0100
+++ b/models/extractapp.php	Tue Mar 21 18:23:05 2017 +0100
@@ -593,6 +593,7 @@
         
         // set up the curl resource
         $ch = curl_init();
+        curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
         curl_setopt($ch, CURLOPT_URL, $save_url);
         curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
         curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");