Merge "Add docstrings for text search index field types"
[lhc/web/wiklou.git] / includes / http / HttpRequestFactory.php
index 80f9b68..c5413b3 100644 (file)
@@ -45,8 +45,8 @@ class HttpRequestFactory {
                if ( !Http::$httpEngine ) {
                        Http::$httpEngine = function_exists( 'curl_init' ) ? 'curl' : 'php';
                } elseif ( Http::$httpEngine == 'curl' && !function_exists( 'curl_init' ) ) {
-                       throw new DomainException( __METHOD__ . ': curl (http://php.net/curl) is not installed, but' .
-                          ' Http::$httpEngine is set to "curl"' );
+                       throw new DomainException( __METHOD__ . ': curl (https://secure.php.net/curl) is not ' .
+                          'installed, but Http::$httpEngine is set to "curl"' );
                }
 
                if ( !isset( $options['logger'] ) ) {
@@ -61,7 +61,7 @@ class HttpRequestFactory {
                                        throw new DomainException( __METHOD__ . ': allow_url_fopen ' .
                                           'needs to be enabled for pure PHP http requests to ' .
                                           'work. If possible, curl should be used instead. See ' .
-                                          'http://php.net/curl.'
+                                          'https://secure.php.net/curl.'
                                        );
                                }
                                return new PhpHttpRequest( $url, $options, $caller, Profiler::instance() );