function __construct() { parent::WYSIWYG_Controller(); $this->load->model('files/file_folders_m'); $this->load->model('files/file_m'); $this->template->append_metadata(css('images.css', 'wysiwyg'))->title('Files'); }
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); }
function __construct() { parent::WYSIWYG_Controller(); $this->config->load('files/files'); $this->_path = FCPATH . '/' . $this->config->item('files_folder') . '/'; //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(); }
function __construct() { parent::WYSIWYG_Controller(); $this->load->model('file_m'); }
function __construct() { parent::WYSIWYG_Controller(); }
function __construct() { parent::WYSIWYG_Controller(); $this->config->load('files/files'); $this->_path = FCPATH . '/' . $this->config->item('files_folder') . '/'; }