commit 8ce84205c760456e9eda2a898f64aa0757ad4ad6
parent 98bfc65e0aa90e9b1413c983a1bf7fce05b6be6c
Author: markseu <mark2011@mayberg.se>
Date: Tue, 4 Sep 2018 11:25:20 +0200
Updated plugins, website features can be added via command line
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/system/plugins/update.php b/system/plugins/update.php
@@ -4,7 +4,7 @@
// This file may be used and distributed under the terms of the public license.
class YellowUpdate {
- const VERSION = "0.7.18";
+ const VERSION = "0.7.19";
public $yellow; //access to API
public $updates; //number of updates
@@ -238,7 +238,7 @@ class YellowUpdate {
public function showSoftware() {
list($statusCode, $dataLatest) = $this->getSoftwareVersion(true, true);
foreach ($dataLatest as $key=>$value) {
- list($version, $url, $description) = explode(",", $value);
+ list($version, $url, $description) = explode(",", $value, 3);
echo "$key: $description\n";
}
if ($statusCode!=200) echo "ERROR checking features: ".$this->yellow->page->get("pageError")."\n";