public function __construct() { parent::__construct(); $this->ci =& get_instance(); $this->dir = FCPATH . 'assets'; }