コード例 #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
ファイル: abstract_authorized.php プロジェクト: 4otaku/draft
 protected function get_base_params($data)
 {
     if (!User::get('id')) {
         return false;
     }
     $this->user = User::get('id');
     return parent::get_base_params($data);
 }