commit 5457572c69cdb18c653b8c2222a1fad0e37f8c2e
parent 09e01dd7b3f00b40d24a956cff5810e3e9e3e6a2
Author: markseu <mark2011@mayberg.se>
Date: Wed, 21 Oct 2020 11:01:32 +0200
Updated installation
Diffstat:
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.36";
+ const VERSION = "0.8.37";
const PRIORITY = "1";
public $yellow; // access to API
@@ -103,7 +103,7 @@ class YellowInstall {
$fileDataIni = $zip->getFromName($pathBase."$extension/extension.ini");
$statusCode = max($statusCode, $this->updateLanguageArchive($fileDataPhp, $fileDataTxt, $fileDataIni, $pathBase, "install"));
}
- $this->yellow->language->load($this->yellow->system->get("coreExtensionDirectory").".*\.txt");
+ $this->yellow->language->load($this->yellow->system->get("coreExtensionDirectory")."(.*).txt");
$zip->close();
} else {
$statusCode = 500;