Set table prefix if not set in postgresql install

remotes/origin/stable45
Brice Maron 14 years ago committed by Michael Gapczynski
parent 9b605969f1
commit 2706988225
  1. 2
      lib/setup.php

@ -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);

Loading…
Cancel
Save