summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2012-10-04 10:03:09 +0200
committerThomas Bruederli <thomas@roundcube.net>2012-10-04 10:03:09 +0200
commit7f64d7c2e4a38870eb225e6dcb15f60a7af63bfc (patch)
tree02e4bedf65036bed5e8bbe3ef602a83edebcb67b /program
parent35cdf9771f57726bbded131d7252c3d028e18a4f (diff)
parent88107d6cf54f62ec23daf94d68700fc000394c35 (diff)
Merge branch 'master' of github.com:roundcube/roundcubemail
Diffstat (limited to 'program')
-rw-r--r--program/include/rcube_db.php2
-rw-r--r--program/include/rcube_db_mssql.php2
-rw-r--r--program/include/rcube_db_mysql.php2
-rw-r--r--program/include/rcube_db_pgsql.php2
-rw-r--r--program/include/rcube_db_sqlite.php2
-rw-r--r--program/include/rcube_db_sqlsrv.php2
6 files changed, 12 insertions, 0 deletions
diff --git a/program/include/rcube_db.php b/program/include/rcube_db.php
index eb1ad31b2..b066101b3 100644
--- a/program/include/rcube_db.php
+++ b/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 ?
diff --git a/program/include/rcube_db_mssql.php b/program/include/rcube_db_mssql.php
index 5cbcfab36..119647d95 100644
--- a/program/include/rcube_db_mssql.php
+++ b/program/include/rcube_db_mssql.php
@@ -31,6 +31,8 @@
*/
class rcube_db_mssql extends rcube_db
{
+ public $db_provider = 'mssql';
+
/**
* Driver initialization
*/
diff --git a/program/include/rcube_db_mysql.php b/program/include/rcube_db_mysql.php
index 3606ec102..2cdcf3021 100644
--- a/program/include/rcube_db_mysql.php
+++ b/program/include/rcube_db_mysql.php
@@ -31,6 +31,8 @@
*/
class rcube_db_mysql extends rcube_db
{
+ public $db_provider = 'mysql';
+
/**
* Driver initialization/configuration
*/
diff --git a/program/include/rcube_db_pgsql.php b/program/include/rcube_db_pgsql.php
index 285b8e2d4..0d0caadde 100644
--- a/program/include/rcube_db_pgsql.php
+++ b/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
*
diff --git a/program/include/rcube_db_sqlite.php b/program/include/rcube_db_sqlite.php
index a9774cd51..a7397674b 100644
--- a/program/include/rcube_db_sqlite.php
+++ b/program/include/rcube_db_sqlite.php
@@ -31,6 +31,8 @@
*/
class rcube_db_sqlite extends rcube_db
{
+ public $db_provider = 'sqlite';
+
/**
* Database character set
*/
diff --git a/program/include/rcube_db_sqlsrv.php b/program/include/rcube_db_sqlsrv.php
index feddbe73f..e58bf0704 100644
--- a/program/include/rcube_db_sqlsrv.php
+++ b/program/include/rcube_db_sqlsrv.php
@@ -31,6 +31,8 @@
*/
class rcube_db_sqlsrv extends rcube_db
{
+ public $db_provider = 'mssql';
+
/**
* Driver initialization
*/