mikuli.cz

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

commit 169fc542d4f341674ca12099381f019c8d153eab
parent 808d42df53f808e494440e0415604583b6c01ee9
Author: markseu <mark2011@mayberg.se>
Date:   Tue,  1 Sep 2020 10:11:20 +0200

Updated installation

Diffstat:
Msystem/extensions/install.php | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/system/extensions/install.php b/system/extensions/install.php @@ -2,7 +2,7 @@ // Install extension, https://github.com/datenstrom/yellow class YellowInstall { - const VERSION = "0.8.34"; + const VERSION = "0.8.35"; const PRIORITY = "1"; public $yellow; // access to API @@ -370,7 +370,7 @@ class YellowInstall { if (strposu($entry, ".")===false) { list($dummy1, $entry, $flags) = $this->yellow->toolbox->getTextList($matches[2], ",", 3); } - $arguments = explode(",", $flags); + $arguments = preg_split("/\s*,\s*/", $flags); $language = array_pop($arguments); if (preg_match("/^(.*)\.php$/", basename($entry)) && in_array($language, $languages)) { array_push($extensions, $extension);