Skip to content
Snippets Groups Projects

Hotline memory limit on integration file download

Compare and
+ 1
0
Preferences
Compare changes
@@ -59,6 +59,7 @@ class Cosmo_RunLogController extends Zend_Controller_Action {
header('Content-length: ' . $run->getFileSize());
header('Content-Type: application/octet-stream');
header('Content-Disposition: attachment; filename="' . basename($file_path) . '"');
ob_end_clean();
readfile($file_path);
}
}