commit 41b1d3c58cdcbe1affb95ed6bca77f41e433c495
parent e0ef2e9e98dae69ea03126f2f3296c987e0146c2
Author: markseu <mark2011@mayberg.se>
Date: Fri, 15 Apr 2022 12:58:20 +0200
Updated install extension
Diffstat:
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/system/extensions/install.php b/system/extensions/install.php
@@ -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);
diff --git a/system/extensions/update-current.ini b/system/extensions/update-current.ini
@@ -64,11 +64,11 @@ media/images/photo.jpg: photo.jpg, create, optional
media/thumbnails/photo-100x40.jpg: photo-100x40.jpg, create, optional
Extension: Install
-Version: 0.8.66
+Version: 0.8.67
Description: Install a brand new, shiny website.
HelpUrl: https://github.com/datenstrom/yellow-extensions/tree/master/source/install
DownloadUrl: https://github.com/datenstrom/yellow-extensions/raw/master/zip/install.zip
-Published: 2022-03-20 21:29:16
+Published: 2022-04-15 12:52:14
Developer: Datenstrom
Status: unlisted
system/extensions/install.php: install.php, create