Updated tool chain for system testing

This commit is contained in:
markseu 2021-12-06 18:57:38 +01:00
parent f933687a9c
commit 5e8ce0940f
2 changed files with 5 additions and 3 deletions

View file

@ -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;
}

View file

@ -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