summaryrefslogtreecommitdiffstats
path: root/system/helpers/download_helper.php
diff options
context:
space:
mode:
Diffstat (limited to 'system/helpers/download_helper.php')
-rw-r--r--system/helpers/download_helper.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/system/helpers/download_helper.php b/system/helpers/download_helper.php
index ee3d78f25..5e47fc5c9 100644
--- a/system/helpers/download_helper.php
+++ b/system/helpers/download_helper.php
@@ -91,8 +91,7 @@ if (! function_exists('force_download'))
header("Content-Length: ".strlen($data));
}
- echo $data;
- exit; // exit($data); // didn't work on some browsers
+ exit($data);
}
}