/** * Download file */ public function download() { if (isset($_GET['file']) && $_GET['file']) { $_POST['file'] = array($_GET['file']); } parent::download(); }