Beispiel #1
0
 public function __construct($url)
 {
     parent::__construct($url);
     if (!empty($_FILES)) {
         $this->headers = array('Content-type' => 'text/html');
     }
 }
Beispiel #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);
 }