public function __construct()
{
$this->_ci = CI_Base::get_instance();
if (!$this->_ci->config->item('migrations_enabled') or !$this->_ci->config->item('migrations_path')) {
show_404();
}
// $this->_ci->lang->load("setup");
$this->migrations_path = $this->_ci->config->item('migrations_path');
if ($this->migrations_path != '' && substr($this->migrations_path, -1) != '/') {
$this->migrations_path .= '/';
}
$this->_ci->load->dbforge();
}