diff options
author | Derek Jones <derek.jones@ellislab.com> | 2008-05-14 17:01:50 +0200 |
---|---|---|
committer | Derek Jones <derek.jones@ellislab.com> | 2008-05-14 17:01:50 +0200 |
commit | 97bc010749830b183fffa7c5faf29744c095864e (patch) | |
tree | c98b36a2199963ca720e2d6c819febde90edbc0f /system/database/DB_driver.php | |
parent | 454fa7e0039689ca480eb6ef999d3fa753f5f875 (diff) |
fixed bug #3419 where the 'database' setting for DSN connections was using the host portion of the URL instead of the path.
Added ability to set other db config values in DSN connections via query string
Diffstat (limited to 'system/database/DB_driver.php')
-rw-r--r-- | system/database/DB_driver.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/system/database/DB_driver.php b/system/database/DB_driver.php index a0833d0ce..c9cece621 100644 --- a/system/database/DB_driver.php +++ b/system/database/DB_driver.php @@ -36,6 +36,8 @@ class CI_DB_driver { var $database;
var $dbdriver = 'mysql';
var $dbprefix = '';
+ var $char_set = '';
+ var $dbcollat = '';
var $autoinit = TRUE; // Whether to automatically initialize the DB
var $swap_pre = '';
var $port = '';
|