public function __construct() { parent::__construct(); $this->config->load('files/files'); $this->_path = FCPATH . '/' . $this->config->item('files:path') . '/'; // If the folder hasn't been created by the files module create it now is_dir($this->_path) or mkdir($this->_path, 0777, true); }
public function __construct() { parent::__construct(); }