summaryrefslogtreecommitdiffstats
path: root/system/helpers/download_helper.php
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2008-05-01 03:48:51 +0200
committerDerek Allard <derek.allard@ellislab.com>2008-05-01 03:48:51 +0200
commita9911fc06160f9d4538475e2bf9ee45c9ff8f746 (patch)
tree8d34acd088b68201fccda3dafc76d357ceedb5c6 /system/helpers/download_helper.php
parentb94b89c69195a0708add8dedb1721f12bcafbf8c (diff)
another change to the download helper for compatibility
Diffstat (limited to 'system/helpers/download_helper.php')
-rw-r--r--system/helpers/download_helper.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/helpers/download_helper.php b/system/helpers/download_helper.php
index 5e47fc5c9..ee3d78f25 100644
--- a/system/helpers/download_helper.php
+++ b/system/helpers/download_helper.php
@@ -91,7 +91,8 @@ if (! function_exists('force_download'))
header("Content-Length: ".strlen($data));
}
- exit($data);
+ echo $data;
+ exit; // exit($data); // didn't work on some browsers
}
}