diff options
author | Brice Maron <brice@bmaron.net> | 2012-05-28 20:56:21 +0000 |
---|---|---|
committer | Michael Gapczynski <mtgap@owncloud.com> | 2012-06-27 16:08:46 -0400 |
commit | 2706988225f7ef36463c8aceaeb3ec84108abde7 (patch) | |
tree | 738776554893a277624f08ce1233f2afa91dcdd6 | |
parent | 9b605969f1ef9826469c68ec35df768063f904ba (diff) | |
download | nextcloud-server-2706988225f7ef36463c8aceaeb3ec84108abde7.tar.gz nextcloud-server-2706988225f7ef36463c8aceaeb3ec84108abde7.zip |
Set table prefix if not set in postgresql install
-rw-r--r-- | lib/setup.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/setup.php b/lib/setup.php index 5f1fb1525ec..e1c1a110b38 100644 --- a/lib/setup.php +++ b/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); |