コード例 #1
0
ファイル: upload_m.php プロジェクト: stoneStyle/startbbs
 function __construct()
 {
     parent::__construct();
     $this->avatar_path_temp = FCPATH . 'uploads/avatar/tmp';
     $this->avatar_path = FCPATH . 'uploads/avatar/';
     $this->uid = $this->session->userdata('uid');
     if ($this->uid) {
         $this->path = $this->avatar_path . $this->get_dir($this->uid);
         $this->avatar_path_url = base_url('uploads/avatar/' . $this->get_dir($this->uid));
         if (!file_exists($this->path)) {
             mkdir($this->path, 0777, true);
         }
     }
 }
コード例 #2
0
ファイル: link_m.php プロジェクト: stoneStyle/startbbs
 function __construct()
 {
     parent::__construct();
     $this->load->library('myclass');
 }
コード例 #3
0
ファイル: comment_m.php プロジェクト: stoneStyle/startbbs
 function __construct()
 {
     parent::__construct();
 }