summaryrefslogtreecommitdiffstats
path: root/lib/db.php
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2013-04-29 12:25:27 +0200
committerJörn Friedrich Dreyer <jfd@butonic.de>2013-05-22 13:59:07 +0200
commiteceb3c8ed5f3068808bc8fc5ceec5fda1ac50db9 (patch)
tree1bc89bd6cc323d864b5035c497d69436470e2e9a /lib/db.php
parent1b68c0c0cdf1fb68149efd18e661be0a38bcfd62 (diff)
downloadnextcloud-server-eceb3c8ed5f3068808bc8fc5ceec5fda1ac50db9.tar.gz
nextcloud-server-eceb3c8ed5f3068808bc8fc5ceec5fda1ac50db9.zip
add debug output
Diffstat (limited to 'lib/db.php')
-rw-r--r--lib/db.php9
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/db.php b/lib/db.php
index 8f6f50bda6e..5b45f81f998 100644
--- a/lib/db.php
+++ b/lib/db.php
@@ -276,15 +276,10 @@ class OC_DB {
'phptype' => 'oci8',
'username' => $user,
'password' => $pass,
+ 'service' => $name,
+ 'hostspec' => $host,
'charset' => 'AL32UTF8',
);
- if ($host != '') {
- $dsn['hostspec'] = $host;
- $dsn['database'] = $name;
- } else { // use dbname for hostspec
- $dsn['hostspec'] = $name;
- $dsn['database'] = $user;
- }
break;
case 'mssql':
$dsn = array(