Updated install extension
This commit is contained in:
parent
e0ef2e9e98
commit
41b1d3c58c
2 changed files with 5 additions and 5 deletions
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue