diff options
author | Daniel Hunsaker <danhunsaker@gmail.com> | 2013-03-04 13:14:22 +0100 |
---|---|---|
committer | Daniel Hunsaker <danhunsaker@gmail.com> | 2013-03-04 13:14:22 +0100 |
commit | 8626e93d5b4362c86a58933dda9206ac8810476d (patch) | |
tree | fc8e24af0186afcabc7dee57b6c953774c27fbd1 /system/helpers | |
parent | b2ac67a3a766ac18f5041eff7a5cbeef7437a184 (diff) |
Reverting changes to functions that have no business being used in CLI apps to begin with
Signed-off-by: Daniel Hunsaker <danhunsaker@gmail.com>
Diffstat (limited to 'system/helpers')
-rw-r--r-- | system/helpers/download_helper.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/system/helpers/download_helper.php b/system/helpers/download_helper.php index bd3296574..4fe6a0e88 100644 --- a/system/helpers/download_helper.php +++ b/system/helpers/download_helper.php @@ -141,8 +141,7 @@ if ( ! function_exists('force_download')) // If we have raw data - just dump it if ($data !== NULL) { - echo $data; - exit; + exit($data); } // Flush 1MB chunks of data |