Set table prefix if not set in postgresql install

This commit is contained in:
Brice Maron 2012-05-28 20:56:21 +00:00
parent cf113409ad
commit 2f8412defc
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ class OC_Setup {
$dbpass = $options['dbpass'];
$dbname = $options['dbname'];
$dbhost = $options['dbhost'];
$dbtableprefix = $options['dbtableprefix'];
$dbtableprefix = isset($options['dbtableprefix']) ? $options['dbtableprefix'] : 'oc_';
OC_CONFIG::setValue('dbname', $dbname);
OC_CONFIG::setValue('dbhost', $dbhost);
OC_CONFIG::setValue('dbtableprefix', $dbtableprefix);