commit 76f4815d4ebc6109ac848735c1a53a8bfab6fc27
parent d14e090bc70c13ba51b3cb40358338c89c633536
Author: markseu <mark2011@mayberg.se>
Date: Sat, 7 May 2022 09:19:05 +0200
Added support for long-term backwards compatibility
Diffstat:
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/system/extensions/update-current.ini b/system/extensions/update-current.ini
@@ -131,11 +131,11 @@ system/themes/stockholm-opensans-light.woff: stockholm-opensans-light.woff, crea
system/themes/stockholm-opensans-regular.woff: stockholm-opensans-regular.woff, create, update, careful
Extension: Update
-Version: 0.8.75
+Version: 0.8.76
Description: Keep your website up to date.
DocumentationUrl: https://github.com/datenstrom/yellow-extensions/tree/master/source/update
DownloadUrl: https://github.com/datenstrom/yellow-extensions/raw/master/zip/update.zip
-Published: 2022-05-05 10:29:50
+Published: 2022-05-06 18:38:21
Developer: Datenstrom
Tag: feature
system/extensions/update.php: update.php, create, update
diff --git a/system/extensions/update.php b/system/extensions/update.php
@@ -2,7 +2,7 @@
// Update extension, https://github.com/datenstrom/yellow-extensions/tree/master/source/update
class YellowUpdate {
- const VERSION = "0.8.75";
+ const VERSION = "0.8.76";
const PRIORITY = "2";
public $yellow; // access to API
public $extensions; // number of extensions
@@ -353,6 +353,7 @@ class YellowUpdate {
public function updatePatchPending() {
$fileName = $this->yellow->system->get("coreExtensionDirectory")."update-patch.bin";
if (is_file($fileName)) {
+ if ($this->yellow->system->get("coreDebugMode")>=2) echo "YellowUpdate::updatePatchPending file:$fileName<br/>\n";
if (!$this->yellow->extension->isExisting("patch")) {
require_once($fileName);
$this->yellow->extension->register("patch", "YellowPatch");