projects
/
WP-Plugins
/
glm-member-db-apis.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fdabf5
)
Need new option in curl
author
Steve Sutton
<steve@gaslightmedia.com>
Thu, 23 Mar 2017 12:10:58 +0000
(08:10 -0400)
committer
Steve Sutton
<steve@gaslightmedia.com>
Thu, 23 Mar 2017 12:11:26 +0000
(08:11 -0400)
This is for ignore ssl verify peer
models/front/apis/schedule.php
patch
|
blob
|
history
diff --git
a/models/front/apis/schedule.php
b/models/front/apis/schedule.php
index
a64036f
..
b25b4ad
100644
(file)
--- a/
models/front/apis/schedule.php
+++ b/
models/front/apis/schedule.php
@@
-87,7
+87,9
@@
class GlmMembersFront_apis_schedule
$curl = curl_init( $url );
curl_setopt( $curl, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $curl, CURLOPT_USERPWD, 'dev55:Glm15Keep!' );
+ curl_setopt( $curl, CURLOPT_SSL_VERIFYPEER, false );
$content = curl_exec( $curl );
+
curl_close( $curl );
$templateData = array(