Skip to content

Commit

Permalink
Updated core for PHP 8.4 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
markseuffert committed Nov 25, 2024
1 parent 5954d52 commit 9f6f3b5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions system/extensions/update-available.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions system/extensions/yellow-extension.ini
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions system/workers/core.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -2417,7 +2417,7 @@ public function getTextList($text, $separator, $size) {
// 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] = "";
}
Expand Down

0 comments on commit 9f6f3b5

Please sign in to comment.