Commit 39180d5f501ae3fab4ad3995765eb8f78a3a8726
1 parent
872d7762
Merged in from DEV trunk...
KTS-3165 "Remove background task permissions problems by making web server user deal with background tasks" Fixed. Cater for HTTPS certificate issues Committed By: Conrad Vermeulen Reviewed By: Kevin Fourie git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/STABLE/trunk@8342 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
3 additions
and
0 deletions
lib/util/ktutil.inc
| ... | ... | @@ -121,6 +121,9 @@ class KTUtil { |
| 121 | 121 | $full_url = $kt_url . '/' . $path; |
| 122 | 122 | |
| 123 | 123 | $ch = curl_init($full_url); |
| 124 | + curl_setopt($ch,CURLOPT_SSL_VERIFYPEER, false); | |
| 125 | + curl_setopt($ch,CURLOPT_SSL_VERIFYHOST, false); | |
| 126 | + curl_setopt($ch,CURLOPT_FOLLOWLOCATION, true); | |
| 124 | 127 | curl_exec($ch); |
| 125 | 128 | curl_close($ch); |
| 126 | 129 | } | ... | ... |