@@ -109,8 +109,8 @@ |
||
109 | 109 | $fileName = 'DGII_'.$reportCode.'_'.$this->empresa->cifnif.'_'.$year.'_'.$month.'.txt'; |
110 | 110 | $commonFunctions->exportTXT($reportCode, $fileName, $this->empresa->cifnif, $year, $month, $whereReport); |
111 | 111 | $this->response->headers->set('Content-type', 'text/plain'); |
112 | - $this->response->headers->set('Content-Disposition', 'attachment;filename=' . $fileName); |
|
113 | - $this->response->setContent(file_get_contents(\FS_FOLDER . DIRECTORY_SEPARATOR . $fileName)); |
|
112 | + $this->response->headers->set('Content-Disposition', 'attachment;filename='.$fileName); |
|
113 | + $this->response->setContent(file_get_contents(\FS_FOLDER.DIRECTORY_SEPARATOR.$fileName)); |
|
114 | 114 | } |
115 | 115 | } |
116 | 116 |