mikuli.cz

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

commit 73ccd536c0362b1cb5b45bd2f6561929bd0891da
parent e386c5fd9729bd2c6d5c5e3f378e9e2cdea2fe8e
Author: markseu <mark2011@mayberg.se>
Date:   Sun,  5 May 2019 22:45:04 +0200

Updated bundle extension for Norbert

Diffstat:
Msystem/extensions/bundle.php | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/system/extensions/bundle.php b/system/extensions/bundle.php @@ -4,7 +4,7 @@ // This file may be used and distributed under the terms of the public license. class YellowBundle { - const VERSION = "0.8.4"; + const VERSION = "0.8.5"; const TYPE = "feature"; public $yellow; //access to API @@ -106,6 +106,7 @@ class YellowBundle { if ($this->yellow->toolbox->getFileModified($fileNameBundle)!=$modified) { foreach ($fileNames as $fileName) { $fileData = $this->yellow->toolbox->readFile($fileName); + if (substrb($fileData, 0, 3)=="\xEF\xBB\xBF") $fileData = substrb($fileData, 3); $fileData = $this->processBundleConvert($scheme, $address, $base, $fileData, $fileName, $type); $fileData = $this->processBundleMinify($scheme, $address, $base, $fileData, $fileName, $type); if (!empty($fileDataNew)) $fileDataNew .= "\n\n";