mikuli.cz

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

commit 226dbb22e62f78b11e5c6208ec528da69109002a
parent 24140d62eabc2accc3f78f432cb7e9fcb07add81
Author: markseu <mark2011@mayberg.se>
Date:   Wed, 26 May 2021 10:33:04 +0200

Improved settings

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

diff --git a/system/extensions/update-current.ini b/system/extensions/update-current.ini @@ -111,11 +111,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.51 +Version: 0.8.52 Description: Keep your website up to date. HelpUrl: https://github.com/datenstrom/yellow-extensions/tree/master/source/update DownloadUrl: https://github.com/datenstrom/yellow-extensions/raw/master/zip/update.zip -Published: 2021-05-23 22:02:36 +Published: 2021-05-26 10:21:13 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.51"; + const VERSION = "0.8.52"; const PRIORITY = "2"; public $yellow; // access to API public $updates; // number of updates @@ -518,7 +518,7 @@ class YellowUpdate { $fileData = $this->yellow->toolbox->readFile($fileName); if ($action=="install" || $action=="update") { $settingsCurrent = $this->yellow->toolbox->getTextSettings($fileData, "extension"); - if (!$settingsCurrent->isExisting($extension)) $settingsCurrent[$extension] = new YellowArray(); + $settingsCurrent[$extension] = new YellowArray(); foreach ($settings as $key=>$value) $settingsCurrent[$extension][$key] = $value; $settingsCurrent->uksort("strnatcasecmp"); $fileDataNew = "";