예제 #1
0
파일: user.php 프로젝트: 4otaku/draft
 public function __construct($url)
 {
     parent::__construct($url);
     if (!empty($_FILES)) {
         $this->headers = array('Content-type' => 'text/html');
     }
 }
예제 #2
0
 protected function get_base_params($data)
 {
     if (!User::get('id')) {
         return false;
     }
     $this->user = User::get('id');
     return parent::get_base_params($data);
 }