We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 905b0e3 commit d06347fCopy full SHA for d06347f
lib/Net/URLChecker.php
@@ -66,7 +66,7 @@ private function getHTTPResponseCode($url)
66
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
67
// The PHP doc indicates that CURLOPT_CONNECTTIMEOUT_MS constant is added in cURL 7.16.2
68
// available since PHP 5.2.3.
69
- if (!defined(CURLOPT_CONNECTTIMEOUT_MS)) {
+ if (!defined('CURLOPT_CONNECTTIMEOUT_MS')) {
70
define('CURLOPT_CONNECTTIMEOUT_MS', 156); // default value for CURLOPT_CONNECTTIMEOUT_MS
71
}
72
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT_MS, self::CONNECT_TIMEOUT_MS);
0 commit comments