msg can be passed to install method

This commit is contained in:
Uwe Steinmann 2021-07-23 13:40:16 +02:00
parent cc9835e3a6
commit 9c7ce41163

View File

@ -72,7 +72,7 @@ echo '<p><a href="install.php">' . getMLText("settings_start_install") . '</a></
$this->htmlEndPage();
} /* }}} */
public function install() { /* {{{ */
public function install($msg) { /* {{{ */
$settings = $this->params['settings'];
$configDir = $this->params['configdir'];
@ -81,7 +81,7 @@ echo '<p><a href="install.php">' . getMLText("settings_start_install") . '</a></
$this->contentStart();
$this->contentHeading("SeedDMS Installation for version ".SEEDDMS_VERSION);
if(isset($msg))
echo "<div class=\"alert alert-warning\">".$msg."</div>";
$this->warningMsg($msg);
$this->contentContainerStart();