示例#1
0
文件: photo.php 项目: ak826843/bmf
 public function __construct()
 {
     parent::__construct('photo');
     user_can_rule();
     $this->load->model(array('photo', 'module'));
     $this->load->library(array('thumb_lib'));
     $this->photo->file_dir = FCPATH . $this->path;
 }
示例#2
0
文件: picture.php 项目: ak826843/bmf
 public function __construct()
 {
     parent::__construct('picture');
     user_can_rule();
     $this->load->model(array('picture', 'module'));
     $this->load->library(array('thumb_lib'));
     $this->picture->file_dir = FCPATH . $this->path;
     $this->data['picture_path'] = site_url($this->path);
 }
示例#3
0
文件: text.php 项目: ak826843/bmf
 public function __construct()
 {
     parent::__construct();
     user_can_rule();
     $this->load->model(array('text'));
 }
示例#4
0
文件: cut.php 项目: ak826843/bmf
 public function __construct()
 {
     parent::__construct();
     user_can_rule();
 }
示例#5
0
 /**
  * Constructor 
  */
 public function __construct()
 {
     parent::__construct('livejournal');
     user_can_rule();
 }