commit | 754e2215748a2dc5d326d70b70675dc3b018e30c | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@bofh.bg> | Sat Jun 23 20:54:06 2012 +0300 |
committer | Andrey Andreev <narf@bofh.bg> | Sat Jun 23 20:54:06 2012 +0300 |
tree | fc654e517d1694a9ca73be3688a2569898f2362c | |
parent | 3345ee5133e6cf83506a46b306b3df18cba14b0e [diff] [blame] |
Fix the subdriver check
diff --git a/system/database/DB.php b/system/database/DB.php index 638b51b..313728f 100644 --- a/system/database/DB.php +++ b/system/database/DB.php
@@ -156,7 +156,7 @@ $DB = new $driver($params); // Check for a subdriver - if ( ! empty($DB->subdriver) && empty($params['subdriver'])) + if ( ! empty($DB->subdriver)) { $driver_file = BASEPATH.'database/drivers/'.$param['dbdriver'].'/subdrivers/'.$params['dbdriver'].'_'.$params['subdriver'].'_driver.php';