Skip to content

Commit

Permalink
vvexport should prompt for download
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_yii@11587 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
Shitiz Garg committed Dec 5, 2011
1 parent f153075 commit 5ac03ac
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions application/controllers/admin/export.php
Expand Up @@ -1024,10 +1024,10 @@ function vvexport($surveyid, $subaction = null)
{
//Export is happening
$extension=sanitize_paranoid_string(returnglobal('extension'));
//header("Content-Disposition: attachment; filename=vvexport_$surveyid.".$extension);
//header("Content-type: text/comma-separated-values; charset=UTF-8");
//header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
//header("Pragma: cache");
header("Content-Disposition: attachment; filename=vvexport_$surveyid.".$extension);
header("Content-type: text/comma-separated-values; charset=UTF-8");
header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
header("Pragma: cache");
$s="\t";

$fieldmap=createFieldMap($surveyid, "full");
Expand Down

0 comments on commit 5ac03ac

Please sign in to comment.