From 5e8ce0940ff05f21e106eb1024d991448715d337 Mon Sep 17 00:00:00 2001 From: markseu Date: Mon, 6 Dec 2021 18:57:38 +0100 Subject: [PATCH] Updated tool chain for system testing --- system/extensions/command.php | 4 +++- system/extensions/update-current.ini | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/system/extensions/command.php b/system/extensions/command.php index b31a954..a45924d 100644 --- a/system/extensions/command.php +++ b/system/extensions/command.php @@ -2,7 +2,7 @@ // Command extension, https://github.com/datenstrom/yellow-extensions/tree/master/source/command class YellowCommand { - const VERSION = "0.8.31"; + const VERSION = "0.8.32"; public $yellow; // access to API public $files; // number of files public $links; // number of links @@ -493,6 +493,8 @@ class YellowCommand { if (!$this->yellow->lookup->isFileLocation($location)) $fileName .= $this->yellow->system->get("commandStaticDefaultFile"); } elseif ($statusCode==404) { $fileName = $path."/".$this->yellow->system->get("commandStaticErrorFile"); + } else { + $fileName = $path."/error.html"; } return $fileName; } diff --git a/system/extensions/update-current.ini b/system/extensions/update-current.ini index a258192..c3b1da0 100755 --- a/system/extensions/update-current.ini +++ b/system/extensions/update-current.ini @@ -11,11 +11,11 @@ Tag: feature system/extensions/bundle.php: bundle.php, create, update Extension: Command -Version: 0.8.31 +Version: 0.8.32 Description: Command line of the website. HelpUrl: https://github.com/datenstrom/yellow-extensions/tree/master/source/command DownloadUrl: https://github.com/datenstrom/yellow-extensions/raw/master/zip/command.zip -Published: 2021-11-27 23:30:00 +Published: 2021-12-06 16:12:16 Developer: Datenstrom Tag: feature system/extensions/command.php: command.php, create, update