Default to localhost, if nothing is entered.
This commit is contained in:
parent
c6dbb33e15
commit
1d799f22c1
1 changed files with 1 additions and 1 deletions
|
@ -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';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue