commit 9f6f3b54433629f3eeb99bb9c786f61796360be4
parent 5954d528c4c3a479d0f0704e737b26bda3c76b82
Author: markseu <mark2011@mayberg.se>
Date: Mon, 25 Nov 2024 14:59:35 +0100
Updated core for PHP 8.4 compatibility
Diffstat:
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/system/extensions/update-available.ini b/system/extensions/update-available.ini
@@ -149,14 +149,14 @@ system/themes/copenhagen.css: copenhagen.css, create, update, careful
system/themes/copenhagen.png: copenhagen.png, create
Extension: Core
-Version: 0.9.12
+Version: 0.9.13
Description: Core functionality of your website.
Developer: Anna Svensson
Tag: feature
DownloadUrl: https://github.com/annaesvensson/yellow-core/archive/refs/heads/main.zip
DocumentationUrl: https://github.com/annaesvensson/yellow-core
DocumentationLanguage: en, de, sv
-Published: 2024-08-28 10:15:04
+Published: 2024-11-25 14:54:03
Status: available
system/workers/core.php: core.php, create, update
system/extensions/core.php: corepatch.txt, update
diff --git a/system/extensions/yellow-extension.ini b/system/extensions/yellow-extension.ini
@@ -1,14 +1,14 @@
# Datenstrom Yellow extension settings
Extension: Core
-Version: 0.9.12
+Version: 0.9.13
Description: Core functionality of your website.
Developer: Anna Svensson
Tag: feature
DownloadUrl: https://github.com/annaesvensson/yellow-core/archive/refs/heads/main.zip
DocumentationUrl: https://github.com/annaesvensson/yellow-core
DocumentationLanguage: en, de, sv
-Published: 2024-08-28 10:15:04
+Published: 2024-11-25 14:54:03
Status: available
system/workers/core.php: core.php, create, update
system/extensions/core.php: corepatch.txt, update
diff --git a/system/workers/core.php b/system/workers/core.php
@@ -2,7 +2,7 @@
// Core extension, https://github.com/annaesvensson/yellow-core
class YellowCore {
- const VERSION = "0.9.12";
+ const VERSION = "0.9.13";
const RELEASE = "0.9";
public $content; // content files
public $media; // media files
@@ -2417,7 +2417,7 @@ class YellowToolbox {
// Return array of variable size from text, space separated
public function getTextArguments($text, $optional = "-", $sizeMin = 9) {
$text = preg_replace("/\s+/s", " ", trim($text));
- $tokens = str_getcsv($text, " ", "\"");
+ $tokens = str_getcsv($text, " ", "\"", "");
foreach ($tokens as $key=>$value) {
if (is_null($value) || $value==$optional) $tokens[$key] = "";
}