Set table prefix if not set in postgresql install

This commit is contained in:
Brice Maron 2012-05-28 20:56:21 +00:00 committed by Michael Gapczynski
parent 9b605969f1
commit 2706988225
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,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);