tbrehm
2012-01-05 5db034fd3d837f9f6eeea250624e51f72567d8d2
Added options to installer to set the ispconfig database username and password in expert mode.
1 files modified
5 ■■■■■ changed files
install/install.php 5 ●●●●● patch | view | raw | blame | history
install/install.php
@@ -126,6 +126,11 @@
    $tmp_mysql_server_admin_user = $inst->free_query('MySQL root username', $conf['mysql']['admin_user']);
    $tmp_mysql_server_admin_password = $inst->free_query('MySQL root password', $conf['mysql']['admin_password']);
    $tmp_mysql_server_database = $inst->free_query('MySQL database to create', $conf['mysql']['database']);
    if($install_mode == 'expert') {
        swriteln("The next two questions are about the internal ISPConfig database user and password. It is recommended to accept the defaults which is 'ispconfig' as username and a random password.\n");
        $conf['mysql']['ispconfig_user'] = $inst->free_query('ISPConfig mysql database username', $conf['mysql']['ispconfig_user']);
        $conf['mysql']['ispconfig_password'] = $inst->free_query('ISPConfig mysql database password', $conf['mysql']['ispconfig_password']);
    }
    $tmp_mysql_server_charset = $inst->free_query('MySQL charset', $conf['mysql']['charset']);
    
    //* Initialize the MySQL server connection