Skip to content
Browse files

Merge branch 'master' of github.com:roundcube/roundcubemail

  • Loading branch information...
2 parents 35cdf97 + 88107d6 commit 7f64d7c2e4a38870eb225e6dcb15f60a7af63bfc @thomascube thomascube committed Oct 4, 2012
View
2 program/include/rcube_db.php
@@ -30,6 +30,8 @@
*/
class rcube_db
{
+ public $db_provider;
+
protected $db_dsnw; // DSN for write operations
protected $db_dsnr; // DSN for read operations
protected $db_connected = false; // Already connected ?
View
2 program/include/rcube_db_mssql.php
@@ -31,6 +31,8 @@
*/
class rcube_db_mssql extends rcube_db
{
+ public $db_provider = 'mssql';
+
/**
* Driver initialization
*/
View
2 program/include/rcube_db_mysql.php
@@ -31,6 +31,8 @@
*/
class rcube_db_mysql extends rcube_db
{
+ public $db_provider = 'mysql';
+
/**
* Driver initialization/configuration
*/
View
2 program/include/rcube_db_pgsql.php
@@ -31,6 +31,8 @@
*/
class rcube_db_pgsql extends rcube_db
{
+ public $db_provider = 'postgres';
+
/**
* Get last inserted record ID
*
View
2 program/include/rcube_db_sqlite.php
@@ -31,6 +31,8 @@
*/
class rcube_db_sqlite extends rcube_db
{
+ public $db_provider = 'sqlite';
+
/**
* Database character set
*/
View
2 program/include/rcube_db_sqlsrv.php
@@ -31,6 +31,8 @@
*/
class rcube_db_sqlsrv extends rcube_db
{
+ public $db_provider = 'mssql';
+
/**
* Driver initialization
*/

0 comments on commit 7f64d7c

Please sign in to comment.
Something went wrong with that request. Please try again.