diff --git a/core/css/styles.css b/core/css/styles.css index a3326c0082..30ac4c3282 100644 --- a/core/css/styles.css +++ b/core/css/styles.css @@ -68,7 +68,7 @@ input[type="submit"].highlight{ background:#ffc100; border:1px solid #db0; text- #login form fieldset { background:0; border:0; margin-bottom:2em; padding:0; } #login form fieldset legend { font-weight:bold; } #login form label { position:absolute; margin:.8em .8em; font-size:1.5em; color:#666; } -#login #dbhostlabel, #login #dbtableprefixlabel, #login #directorylabel { display:block; margin:.95em 0 .8em -7em; } +#login #dbhostlabel, #login #directorylabel { display:block; margin:.95em 0 .8em -7em; } #login form input[type="checkbox"]+label { position:relative; margin:0; font-size:1em; text-shadow:#fff 0 1px 0; } #login form ul.errors { background:#fed7d7; border:1px solid #f00; list-style-indent:inside; margin:0 0 4em 0; padding:1em 1em 1em 5em; } diff --git a/core/templates/installation.php b/core/templates/installation.php index c3cd2968c8..ba0322cc05 100644 --- a/core/templates/installation.php +++ b/core/templates/installation.php @@ -75,8 +75,6 @@
- -
diff --git a/lib/setup.php b/lib/setup.php index baaa2f7046..ebdf3ef823 100644 --- a/lib/setup.php +++ b/lib/setup.php @@ -64,9 +64,6 @@ class OC_Setup { if(empty($options['dbhost'])) { $error[] = "$dbprettyname set the database host."; } - if(!isset($options['dbtableprefix'])) { - $error[] = "$dbprettyname set a table prefix."; - } } if(count($error) == 0) { //no errors, good @@ -88,10 +85,10 @@ class OC_Setup { $dbpass = $options['dbpass']; $dbname = $options['dbname']; $dbhost = $options['dbhost']; - $dbtableprefix = $options['dbtableprefix']; + $dbtableprefix = 'oc_'; OC_Config::setValue('dbname', $dbname); OC_Config::setValue('dbhost', $dbhost); - OC_Config::setValue('dbtableprefix', $dbtableprefix); + OC_Config::setValue('dbtableprefix', 'oc_'); //check if the database user has admin right $connection = @mysql_connect($dbhost, $dbuser, $dbpass);