mikuli.cz

:)
git clone https://git.sr.ht/~ashymad/mikuli.cz
Log | Files | Refs

commit e0ef2e9e98dae69ea03126f2f3296c987e0146c2
parent 6e290d1788e42c3dd5c3078ab5c455bcbb63c662
Author: markseu <mark2011@mayberg.se>
Date:   Fri, 15 Apr 2022 12:47:23 +0200

Updated command extension

Diffstat:
Msystem/extensions/command.php | 5+++--
Msystem/extensions/update-current.ini | 4++--
2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/system/extensions/command.php b/system/extensions/command.php @@ -2,7 +2,7 @@ // Command extension, https://github.com/datenstrom/yellow-extensions/tree/master/source/command class YellowCommand { - const VERSION = "0.8.35"; + const VERSION = "0.8.36"; public $yellow; // access to API public $files; // number of files public $links; // number of links @@ -399,7 +399,7 @@ class YellowCommand { uksort($data, "strnatcasecmp"); $data = array_slice($data, 0, 99); foreach ($data as $key=>$value) { - echo "- $key\n"; + echo "$key\n"; } echo "\n"; } @@ -631,6 +631,7 @@ class YellowCommand { curl_setopt($curlHandle, CURLOPT_USERAGENT, "Mozilla/5.0 (compatible; YellowCommand/".YellowCommand::VERSION."; LinkChecker)"); curl_setopt($curlHandle, CURLOPT_NOBODY, 1); curl_setopt($curlHandle, CURLOPT_CONNECTTIMEOUT, 30); + curl_setopt($curlHandle, CURLOPT_SSL_VERIFYPEER, false); curl_exec($curlHandle); $statusCode = curl_getinfo($curlHandle, CURLINFO_HTTP_CODE); curl_close($curlHandle); diff --git a/system/extensions/update-current.ini b/system/extensions/update-current.ini @@ -11,11 +11,11 @@ Tag: feature system/extensions/bundle.php: bundle.php, create, update Extension: Command -Version: 0.8.35 +Version: 0.8.36 Description: Command line of the website. HelpUrl: https://github.com/datenstrom/yellow-extensions/tree/master/source/command DownloadUrl: https://github.com/datenstrom/yellow-extensions/raw/master/zip/command.zip -Published: 2022-04-14 16:40:15 +Published: 2022-04-15 12:40:46 Developer: Datenstrom Tag: feature system/extensions/command.php: command.php, create, update