summaryrefslogtreecommitdiffstats
path: root/application/libraries
diff options
context:
space:
mode:
Diffstat (limited to 'application/libraries')
-rw-r--r--application/libraries/Duser/Duser.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/application/libraries/Duser/Duser.php b/application/libraries/Duser/Duser.php
index c06f4f723..f7b2493d8 100644
--- a/application/libraries/Duser/Duser.php
+++ b/application/libraries/Duser/Duser.php
@@ -43,8 +43,9 @@ class Duser extends CI_Driver_Library {
function __construct()
{
- // TODO: read config
- $this->_adapter = 'db';
+ $CI =& get_instance();
+
+ $this->_adapter = $CI->config->item("authentication_driver");
}
// require an optional function to be implemented