commit 0a7a5ac22bab34867113e76f48298bbbfa13232b
parent d5027c6d7fe5f52d62256fd2a0649b5145348be6
Author: markseu <mark2011@mayberg.se>
Date: Tue, 18 Oct 2022 21:45:47 +0200
Updated installation files
Diffstat:
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/system/extensions/install-language.bin b/system/extensions/install-language.bin
Binary files differ.
diff --git a/system/extensions/install.php b/system/extensions/install.php
@@ -2,7 +2,7 @@
// Install extension, https://github.com/annaesvensson/yellow-install
class YellowInstall {
- const VERSION = "0.8.79";
+ const VERSION = "0.8.80";
const PRIORITY = "1";
public $yellow; // access to API
@@ -133,9 +133,9 @@ class YellowInstall {
if (preg_match("#^(.*\/).*?$#", $zip->getNameIndex(0), $matches)) $pathBase = $matches[1];
$fileData = $zip->getFromName($pathBase.$this->yellow->system->get("updateExtensionFile"));
foreach ($this->getExtensionsRequired($fileData) as $extension) {
- $fileDataPhp = $zip->getFromName($pathBase."translation/$extension/$extension.php");
- $fileDataTxt = $zip->getFromName($pathBase."translation/$extension/$extension.txt");
- $fileDataIni = $zip->getFromName($pathBase."translation/$extension/extension.ini");
+ $fileDataPhp = $zip->getFromName($pathBase."translations/$extension/$extension.php");
+ $fileDataTxt = $zip->getFromName($pathBase."translations/$extension/$extension.txt");
+ $fileDataIni = $zip->getFromName($pathBase."translations/$extension/extension.ini");
$statusCode = max($statusCode, $this->updateLanguageArchive($fileDataPhp, $fileDataTxt, $fileDataIni, $pathBase, "install"));
}
$this->yellow->language->load($this->yellow->system->get("coreExtensionDirectory"));
diff --git a/system/extensions/update-current.ini b/system/extensions/update-current.ini
@@ -54,11 +54,11 @@ media/images/photo.jpg: photo.jpg, create, optional
media/thumbnails/photo-100x40.jpg: photo-100x40.jpg, create, optional
Extension: Install
-Version: 0.8.79
+Version: 0.8.80
Description: Install a brand new, shiny website.
DocumentationUrl: https://github.com/annaesvensson/yellow-install
DownloadUrl: https://github.com/datenstrom/yellow-extensions/raw/main/downloads/install.zip
-Published: 2022-10-14 20:25:13
+Published: 2022-10-18 21:28:48
Developer: Anna Svensson
Status: unlisted
system/extensions/install.php: install.php, create