* automatically set and unset maintenance mode when data is being edited (either sql or files)
 * added more verbose help prompts. They should now always appear when -h is used.
 * added --setup as more intuitive command for --firstrun. --firstrun is now considered deprecated and will be removed in due time.
 * unfuck order of indizes in --siteconfig
 * fixed some typos
 * convert echo use to CLI::write
 * move scattered command line argument checks to CLISetup
This commit is contained in:
Sarjuuk
2020-07-29 17:01:20 +02:00
parent c65bd88867
commit 59f58f8506
40 changed files with 523 additions and 304 deletions

View File

@@ -48,8 +48,8 @@ abstract class SetupScript
protected $fileTemplatePath = '';
protected $fileTemplateFile = '';
protected $tblDependancyAowow = [];
protected $tblDependancyTC = [];
protected $tblDependencyAowow = [];
protected $tblDependencyTC = [];
protected $dbcSourceFiles = [];
@@ -62,9 +62,9 @@ abstract class SetupScript
return $this->dbcSourceFiles;
}
public function getDependancies(bool $aowow) : array
public function getDependencies(bool $aowow) : array
{
return $aowow ? $this->tblDependancyAowow : $this->tblDependancyTC;
return $aowow ? $this->tblDependencyAowow : $this->tblDependencyTC;
}
public function getName() : string