]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Ignore SSL certificate errors when testing URL rewriting during installation (from...
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Wed, 15 Dec 2010 20:22:27 +0000 (20:22 +0000)
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Wed, 15 Dec 2010 20:22:27 +0000 (20:22 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@7634 36083f99-b078-4883-b0ff-0f9b5a30f544

install/ElggRewriteTester.php

index 64785da1a2663bde007f81be7eeebd8e0bdac084..c8a503cb88cab41557b20583a2d79eecd3653327 100644 (file)
@@ -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';