tbrehm
2012-01-05 94838e08ff5d1191d9549a3b7f8cc81bea8904af
Code formatting.
1 files modified
3 ■■■■ changed files
install/install.php 3 ●●●● patch | view | raw | blame | history
install/install.php
@@ -126,12 +126,13 @@
    $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']);
    $tmp_mysql_server_charset = $inst->free_query('MySQL charset', $conf['mysql']['charset']);
    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
    if(@mysql_connect($tmp_mysql_server_host, $tmp_mysql_server_admin_user, $tmp_mysql_server_admin_password)) {