summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--system/database/DB.php1
-rw-r--r--system/database/DB_driver.php1
2 files changed, 1 insertions, 1 deletions
diff --git a/system/database/DB.php b/system/database/DB.php
index c9660e4bd..0c7cf54b3 100644
--- a/system/database/DB.php
+++ b/system/database/DB.php
@@ -213,5 +213,6 @@ function &DB($params = '', $query_builder_override = NULL)
}
}
+ $DB->initialize();
return $DB;
}
diff --git a/system/database/DB_driver.php b/system/database/DB_driver.php
index 68e5a2833..3d35c2d70 100644
--- a/system/database/DB_driver.php
+++ b/system/database/DB_driver.php
@@ -372,7 +372,6 @@ abstract class CI_DB_driver {
}
}
- $this->initialize();
log_message('info', 'Database Driver Class Initialized');
}