From d7a6b094063a89b8ecce9392a603cb3c3a967db2 Mon Sep 17 00:00:00 2001
From: Georg Ehrke
- +
diff --git a/lib/setup.php b/lib/setup.php index a072e00f91e..9231845da51 100644 --- a/lib/setup.php +++ b/lib/setup.php @@ -70,6 +70,9 @@ class OC_Setup { if(empty($options['dbname'])) { $error[] = "$dbprettyname enter the database name."; } + if(substr_count($options['dbname'], '.') >= 1){ + $error[] = "$dbprettyname you may not use dots in the database name"; + } if($dbtype != 'oci' && empty($options['dbhost'])) { $error[] = "$dbprettyname set the database host."; } -- cgit v1.2.3