public function downloadreportAction() { $file_name = $this->_getParam('file_name', NULL); if (!empty($file_name)) { $file = BASE_PATH . '/downloads/reports/' . $this->_getParam('file_name'); $status = sapp_Global::downloadReport($file); } }