Default to localhost, if nothing is entered.

This commit is contained in:
kondou 2013-05-28 17:34:57 +02:00
parent c6dbb33e15
commit 1d799f22c1

View file

@ -61,7 +61,7 @@ class OC_Setup {
$error[] = $l->t("%s you may not use dots in the database name", array($dbprettyname));
}
if($dbtype != 'oci' && empty($options['dbhost'])) {
$error[] = $l->t("%s set the database host.", array($dbprettyname));
$options['dbhost'] = 'localhost';
}
}