diff --git a/setup/setuputils.class.inc.php b/setup/setuputils.class.inc.php index c32b45836..16faef010 100644 --- a/setup/setuputils.class.inc.php +++ b/setup/setuputils.class.inc.php @@ -911,7 +911,7 @@ class SetupUtils /** * @param \WebPage $oPage - * @param boolean $bAllowDBCreation + * @param boolean $bIsItopInstall true if we are installing, false if we're upgrading * @param string $sDBServer * @param string $sDBUser * @param string $sDBPwd @@ -922,7 +922,7 @@ class SetupUtils * @param string $sNewDBName */ static function DisplayDBParameters( - $oPage, $bAllowDBCreation, $sDBServer, $sDBUser, $sDBPwd, $sDBName, $sDBPrefix, $bTlsEnabled, $sTlsCA, + $oPage, $bIsItopInstall, $sDBServer, $sDBUser, $sDBPwd, $sDBName, $sDBPrefix, $bTlsEnabled, $sTlsCA, $sNewDBName = '' ) { $oPage->add(''); @@ -958,13 +958,18 @@ class SetupUtils $oPage->add(''); $oPage->add('
Database'); $oPage->add(''); - if ($bAllowDBCreation) + if ($bIsItopInstall) { $oPage->add(''); $oPage->add(''); $oPage->add(''); $oPage->add(''); - $oPage->add(''); + $oPage->add(''); + $oPage->add(''); + $oPage->add(''); + $oPage->add(''); + $oPage->add(''); } else {
Use a prefix for the tables:
Use a prefix for the tables: