source/Setup/Controller.php
public function dbInfo()
    {
        $view = $this->getView();
        $session = $this->getSessionInstance();
        $systemRequirements = getSystemReqCheck();
        $utilities = $this->getUtilitiesInstance();

        $eulaOptionValue = $utilities->getRequestVar("iEula", "post");
        $eulaOptionValue = (int)($eulaOptionValue ? $eulaOptionValue : $session->getSessionParam("eula"));
        if (!$eulaOptionValue) {
            $setup = $this->getSetupInstance();
            $setup->setNextStep($setup->getStep("STEP_WELCOME"));
            $view->setMessage($this->getLanguageInstance()->getText("ERROR_SETUP_CANCELLED"));

            throw new SetupControllerExitException("licenseerror.php");
        }

        $databaseConfigValues = $session->getSessionParam('aDB');
        $demodataPackageExists = $utilities->isDemodataPrepared();

        if (!isset($databaseConfigValues)) {
            // default values
            $databaseConfigValues['dbHost'] = "localhost";
            $databaseConfigValues['dbPort'] = "3306";
            $databaseConfigValues['dbUser'] = "";
            $databaseConfigValues['dbPwd'] = "";
            $databaseConfigValues['dbName'] = "";
            $databaseConfigValues['dbiDemoData'] = $demodataPackageExists ? 1 : 0;
        }

        $this->setViewOptions(
            'dbinfo.php',
            'STEP_3_TITLE',
            [
                "aDB" => $databaseConfigValues,
                "blMbStringOn" => $systemRequirements->getModuleInfo('mb_string'),
                "blUnicodeSupport" => $systemRequirements->getModuleInfo('unicode_support'),
                "demodataPackageExists" => $demodataPackageExists
            ]
        );
    }
public function dbInfo()
    {
        $view = $this->getView();
        $session = $this->getSessionInstance();
        $systemRequirements = getSystemReqCheck();
        $utilities = $this->getUtilitiesInstance();

        $eulaOptionValue = $utilities->getRequestVar("iEula", "post");
        $eulaOptionValue = (int)($eulaOptionValue ? $eulaOptionValue : $session->getSessionParam("eula"));
        if (!$eulaOptionValue) {
            $setup = $this->getSetupInstance();
            $setup->setNextStep($setup->getStep("STEP_WELCOME"));
            $view->setMessage($this->getLanguageInstance()->getText("ERROR_SETUP_CANCELLED"));

            throw new SetupControllerExitException("licenseerror.php");
        }

        $databaseConfigValues = $session->getSessionParam('aDB');
        $demodataPackageExists = $utilities->isDemodataPrepared();

        if (!isset($databaseConfigValues)) {
            // default values
            $databaseConfigValues['dbHost'] = "localhost";
            $databaseConfigValues['dbPort'] = "3306";
            $databaseConfigValues['dbUser'] = "";
            $databaseConfigValues['dbPwd'] = "";
            $databaseConfigValues['dbName'] = "";
            $databaseConfigValues['dbiDemoData'] = $demodataPackageExists ? 1 : 0;
        }

        $this->setViewOptions(
            'dbinfo.php',
            'STEP_3_TITLE',
            [
                "aDB" => $databaseConfigValues,
                "blMbStringOn" => $systemRequirements->getModuleInfo('mb_string'),
                "blUnicodeSupport" => $systemRequirements->getModuleInfo('unicode_support'),
                "demodataPackageExists" => $demodataPackageExists
            ]
        );
    }
public function dbInfo ( ) { $ view = $ this -> getView ( ) ; $ session = $ this -> getSessionInstance ( ) ; $ systemRequirements = getSystemReqCheck ( ) ; $ utilities = $ this -> getUtilitiesInstance ( ) ; $ eulaOptionValue = $ utilities -> getRequestVar ( "iEula" , "post" ) ; $ eulaOptionValue = ( int ) ( $ eulaOptionValue ? $ eulaOptionValue : $ session -> getSessionParam ( "eula" ) ) ; if ( ! $ eulaOptionValue ) { $ setup = $ this -> getSetupInstance ( ) ; $ setup -> setNextStep ( $ setup -> getStep ( "STEP_WELCOME" ) ) ; $ view -> setMessage ( $ this -> getLanguageInstance ( ) -> getText ( "ERROR_SETUP_CANCELLED" ) ) ; throw new SetupControllerExitException ( "licenseerror.php" ) ; } $ databaseConfigValues = $ session -> getSessionParam ( 'aDB' ) ; $ demodataPackageExists = $ utilities -> isDemodataPrepared ( ) ; if ( ! isset ( $ databaseConfigValues ) ) { // default values $ databaseConfigValues [ 'dbHost' ] = "localhost" ; $ databaseConfigValues [ 'dbPort' ] = "3306" ; $ databaseConfigValues [ 'dbUser' ] = "" ; $ databaseConfigValues [ 'dbPwd' ] = "" ; $ databaseConfigValues [ 'dbName' ] = "" ; $ databaseConfigValues [ 'dbiDemoData' ] = $ demodataPackageExists ? 1 : 0 ; } $ this -> setViewOptions ( 'dbinfo.php' , 'STEP_3_TITLE' , [ "aDB" => $ databaseConfigValues , "blMbStringOn" => $ systemRequirements -> getModuleInfo ( 'mb_string' ) , "blUnicodeSupport" => $ systemRequirements -> getModuleInfo ( 'unicode_support' ) , "demodataPackageExists" => $ demodataPackageExists ] ) ; }
DB info entry page

Functionality is tested via:
`Acceptance/Frontend/ShopSetUpTest.php::testSetupRedirectsToWelcomeScreenInCaseLicenseIsNotCheckedAsAgreed`
DB info entry page