|
@@ -2,7 +2,7 @@
|
|
|
// Install extension, https://github.com/datenstrom/yellow-extensions/tree/master/source/install
|
|
|
|
|
|
class YellowInstall {
|
|
|
- const VERSION = "0.8.66";
|
|
|
+ const VERSION = "0.8.67";
|
|
|
const PRIORITY = "1";
|
|
|
public $yellow; // access to API
|
|
|
|
|
@@ -347,10 +347,10 @@ class YellowInstall {
|
|
|
$url = $this->yellow->lookup->normaliseUrl($scheme, $address, $base, $location);
|
|
|
curl_setopt($curlHandle, CURLOPT_URL, $url);
|
|
|
curl_setopt($curlHandle, CURLOPT_USERAGENT, "Mozilla/5.0 (compatible; YellowCore/".YellowCore::VERSION).")";
|
|
|
- curl_setopt($curlHandle, CURLOPT_RETURNTRANSFER, 1);
|
|
|
+ curl_setopt($curlHandle, CURLOPT_NOBODY, 1);
|
|
|
curl_setopt($curlHandle, CURLOPT_CONNECTTIMEOUT, 30);
|
|
|
curl_setopt($curlHandle, CURLOPT_SSL_VERIFYPEER, false);
|
|
|
- $rawData = curl_exec($curlHandle);
|
|
|
+ curl_exec($curlHandle);
|
|
|
$statusCode = curl_getinfo($curlHandle, CURLINFO_HTTP_CODE);
|
|
|
$rewrite = $statusCode==200;
|
|
|
curl_close($curlHandle);
|