Exemple #1
0
 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);
 }
Exemple #2
0
 public function __construct()
 {
     parent::__construct();
 }