diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-15 20:22:27 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-15 20:22:27 +0000 |
commit | fa2c88ca281a9d661b2f8121a56a64d3ce78784a (patch) | |
tree | 5e5baf84e9c54c607139173cd3ef58e71fe4c717 /install | |
parent | a6eb3bf8d0f49e9b20fa8153ddca7b9d551f950d (diff) | |
download | elgg-fa2c88ca281a9d661b2f8121a56a64d3ce78784a.tar.gz elgg-fa2c88ca281a9d661b2f8121a56a64d3ce78784a.tar.bz2 |
Ignore SSL certificate errors when testing URL rewriting during installation (from hellekin)
git-svn-id: http://code.elgg.org/elgg/trunk@7634 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'install')
-rw-r--r-- | install/ElggRewriteTester.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/install/ElggRewriteTester.php b/install/ElggRewriteTester.php index 64785da1a..c8a503cb8 100644 --- a/install/ElggRewriteTester.php +++ b/install/ElggRewriteTester.php @@ -78,6 +78,7 @@ class ElggRewriteTester { curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_TIMEOUT, 10); + curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); $response = curl_exec($ch); curl_close($ch); return $response === 'success'; |