codeigniter-base-model
codeigniter-base-model copied to clipboard
Updated __construct() to add dbprefix
Proposed fix for Issue #150 (Support for DBPrefix)
Proposed fix for Issue #150 (Support for DBPrefix)
Use the class variable $_database to add dbprefix as opposed to assuming the default $this->db connection.
$this->_table = $this->_database->dbprefix($this->_table);