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:
49a62c0
)
Another one for curl options
author
Steve Sutton
<steve@gaslightmedia.com>
Thu, 23 Mar 2017 12:14:47 +0000
(08:14 -0400)
committer
Steve Sutton
<steve@gaslightmedia.com>
Thu, 23 Mar 2017 12:14:47 +0000
(08:14 -0400)
Adding one more for the verify peer
models/admin/ajax/schedule.php
patch
|
blob
|
history
diff --git
a/models/admin/ajax/schedule.php
b/models/admin/ajax/schedule.php
index
659148d
..
dc29594
100644
(file)
--- a/
models/admin/ajax/schedule.php
+++ b/
models/admin/ajax/schedule.php
@@
-93,6
+93,7
@@
class GlmMembersAdmin_ajax_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 );
echo $content;