don't display database name and user in setup.php

pull/52/head
Christian Boltz 8 years ago
parent c2ce2518e8
commit 7bb688121f
No known key found for this signature in database
GPG Key ID: C6A682EA63C82F1C

@ -238,7 +238,7 @@ if ($f_sqlite_open == 1)
if ($config_loaded) { if ($config_loaded) {
list ($link, $error_text) = db_connect(TRUE); list ($link, $error_text) = db_connect(TRUE);
if ($error_text == "") { if ($error_text == "") {
print "<li>Testing database connection - OK - {$CONF['database_type']}://{$CONF['database_user']}:xxxxx@{$CONF['database_host']}/{$CONF['database_name']}</li>"; print "<li>Testing database connection (using {$CONF['database_type']}) - OK</li>";
} else { } else {
print "<li><b>Error: Can't connect to database</b><br />\n"; print "<li><b>Error: Can't connect to database</b><br />\n";
print "Please edit the \$CONF['database_*'] parameters in config.local.php.\n"; print "Please edit the \$CONF['database_*'] parameters in config.local.php.\n";

Loading…
Cancel
Save