Skip to content
Snippets Groups Projects
Commit 27069882 authored by Brice Maron's avatar Brice Maron Committed by Michael Gapczynski
Browse files

Set table prefix if not set in postgresql install

parent 9b605969
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment