Exemple #1
0
 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');
 }
Exemple #2
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 #3
0
	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);
	}
Exemple #4
0
 public function __construct()
 {
     parent::__construct();
 }
Exemple #5
0
 function __construct()
 {
     parent::WYSIWYG_Controller();
     $this->load->model('file_m');
 }
Exemple #6
0
 function __construct()
 {
     parent::WYSIWYG_Controller();
 }
Exemple #7
0
 function __construct()
 {
     parent::WYSIWYG_Controller();
     $this->config->load('files/files');
     $this->_path = FCPATH . '/' . $this->config->item('files_folder') . '/';
 }