summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2015-02-19 15:48:23 +0100
committerAndrey Andreev <narf@devilix.net>2015-02-19 15:48:23 +0100
commit1a3675688c91797efbbfc764600965833548a937 (patch)
tree5112344890b0a15557c9bf012ef40e29d51e2709
parent15170ff47c240c26f318108c5eb4bb919d322ec4 (diff)
Fix postgre driver config
-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');
}