diff options
author | Brice Maron <brice@bmaron.net> | 2012-05-28 20:56:21 +0000 |
---|---|---|
committer | Brice Maron <brice@bmaron.net> | 2012-05-28 20:56:21 +0000 |
commit | 2f8412defc6e6adb3dee4ea81f450176a36527b2 (patch) | |
tree | 18fa0dafaec51cd57494bf30ab089cb4a01e4bcb /lib | |
parent | cf113409adf82d0834181dbdf4586fd2ad262898 (diff) | |
download | nextcloud-server-2f8412defc6e6adb3dee4ea81f450176a36527b2.tar.gz nextcloud-server-2f8412defc6e6adb3dee4ea81f450176a36527b2.zip |
Set table prefix if not set in postgresql install
Diffstat (limited to 'lib')
-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 8c2d5231210..8137eb720e5 100644 --- a/lib/setup.php +++ b/lib/setup.php @@ -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); |