commit ea4c7348adda26e065d3d20bf4652418e93f8742
parent 439ee813713842610150ec67651d38be80dbc0b8
Author: markseu <mark2011@mayberg.se>
Date: Fri, 28 Nov 2025 21:55:34 +0100
Updated troubleshooting
Diffstat:
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/system/extensions/update-installed.ini b/system/extensions/update-installed.ini
@@ -62,13 +62,13 @@ media/images/photo.jpg: photo.jpg, create, optional
media/thumbnails/photo-100x40.jpg: photo-100x40.jpg, create, optional
Extension: Install
-Version: 0.9.6
+Version: 0.9.7
Description: Install a brand new website.
Developer: Anna Svensson
DownloadUrl: https://github.com/annaesvensson/yellow-install/archive/refs/heads/main.zip
DocumentationUrl: https://github.com/annaesvensson/yellow-install
DocumentationLanguage: en, de, sv
-Published: 2025-11-21 18:16:25
+Published: 2025-11-28 10:18:20
Status: unassembled
system/workers/install.php: install.php, create
system/workers/install-language.bin: install-language.bin, compress @source/yellow-language/, create
diff --git a/system/workers/install.php b/system/workers/install.php
@@ -2,7 +2,7 @@
// Install extension, https://github.com/annaesvensson/yellow-install
class YellowInstall {
- const VERSION = "0.9.6";
+ const VERSION = "0.9.7";
const PRIORITY = "1";
public $yellow; // access to API
@@ -320,7 +320,7 @@ class YellowInstall {
}
if (!$this->checkServerComplete()) $this->yellow->exitFatalError("Datenstrom Yellow requires complete upload!");
if (!$this->checkServerWrite()) $this->yellow->exitFatalError("Datenstrom Yellow requires write access!");
- if (!$this->checkServerConfiguration()) $this->yellow->exitFatalError("Datenstrom Yellow requires configuration file!");
+ if (!$this->checkServerHtaccess()) $this->yellow->exitFatalError("Datenstrom Yellow requires htaccess file!");
if (!$this->checkServerRewrite()) $this->yellow->exitFatalError("Datenstrom Yellow requires rewrite support!");
}
@@ -369,8 +369,8 @@ class YellowInstall {
return $this->yellow->system->save($fileName, array());
}
- // Check web server configuration file
- public function checkServerConfiguration() {
+ // Check web server htaccess file
+ public function checkServerHtaccess() {
list($name) = $this->yellow->toolbox->detectServerInformation();
return strtoloweru($name)!="apache" || is_file(".htaccess");
}