diff options
author | Thomas Tanghus <thomas@tanghus.net> | 2012-01-01 17:48:28 +0100 |
---|---|---|
committer | Thomas Tanghus <thomas@tanghus.net> | 2012-01-01 17:48:28 +0100 |
commit | 5d8314cfb8984a6001fbfccb47c4c75b465f0991 (patch) | |
tree | 2ce5c25145e43300cb28ed5d312f35ef2f9a32cc | |
parent | 1b146b85d2b645dc4ae4f16d9757ad4bd939c0e2 (diff) | |
parent | eb4cd869107d4afa1c259751e765ca39defb9279 (diff) | |
download | nextcloud-server-5d8314cfb8984a6001fbfccb47c4c75b465f0991.tar.gz nextcloud-server-5d8314cfb8984a6001fbfccb47c4c75b465f0991.zip |
Merge git://gitorious.org/owncloud/owncloud into oc_image
-rw-r--r-- | lib/util.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/util.php b/lib/util.php index 0f79948bc24..9cf78da6e90 100644 --- a/lib/util.php +++ b/lib/util.php @@ -175,8 +175,8 @@ class OC_Util { $errors=array(); //check for database drivers - if(!is_callable('sqlite_open') and !is_callable('mysql_connect')){ - $errors[]=array('error'=>'No database drivers (sqlite or mysql) installed.<br/>','hint'=>'');//TODO: sane hint + if(!is_callable('sqlite_open') and !is_callable('mysql_connect') and !is_callable('pg_connect')){ + $errors[]=array('error'=>'No database drivers (sqlite, mysql, or postgresql) installed.<br/>','hint'=>'');//TODO: sane hint } $CONFIG_DBTYPE = OC_Config::getValue( "dbtype", "sqlite" ); $CONFIG_DBNAME = OC_Config::getValue( "dbname", "owncloud" ); |