Update to CodeIgniter 2.1.0
This commit is contained in:
6
system/database/DB_driver.php
Executable file → Normal file
6
system/database/DB_driver.php
Executable file → Normal file
@@ -78,7 +78,7 @@ class CI_DB_driver {
|
||||
*
|
||||
* @param array
|
||||
*/
|
||||
function CI_DB_driver($params)
|
||||
function __construct($params)
|
||||
{
|
||||
if (is_array($params))
|
||||
{
|
||||
@@ -218,7 +218,7 @@ class CI_DB_driver {
|
||||
|
||||
// Some DBs have functions that return the version, and don't run special
|
||||
// SQL queries per se. In these instances, just return the result.
|
||||
$driver_version_exceptions = array('oci8', 'sqlite');
|
||||
$driver_version_exceptions = array('oci8', 'sqlite', 'cubrid');
|
||||
|
||||
if (in_array($this->dbdriver, $driver_version_exceptions))
|
||||
{
|
||||
@@ -1387,4 +1387,4 @@ class CI_DB_driver {
|
||||
|
||||
|
||||
/* End of file DB_driver.php */
|
||||
/* Location: ./system/database/DB_driver.php */
|
||||
/* Location: ./system/database/DB_driver.php */
|
||||
|
||||
Reference in New Issue
Block a user