예제 #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');
 }
예제 #2
0
파일: upload.php 프로젝트: blekedeg/lbhpers
 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);
 }
예제 #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);
	}
예제 #4
0
 public function __construct()
 {
     parent::__construct();
 }
예제 #5
0
 function __construct()
 {
     parent::WYSIWYG_Controller();
     $this->load->model('file_m');
 }
예제 #6
0
 function __construct()
 {
     parent::WYSIWYG_Controller();
 }
예제 #7
0
 function __construct()
 {
     parent::WYSIWYG_Controller();
     $this->config->load('files/files');
     $this->_path = FCPATH . '/' . $this->config->item('files_folder') . '/';
 }