Updated plugins, website features can be added via command line

This commit is contained in:
markseu 2018-09-04 11:25:20 +02:00
parent 98bfc65e0a
commit 8ce84205c7

View file

@ -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";