diff options
author | Derek Allard <derek.allard@ellislab.com> | 2008-04-18 00:03:00 +0200 |
---|---|---|
committer | Derek Allard <derek.allard@ellislab.com> | 2008-04-18 00:03:00 +0200 |
commit | 3a555ef16dfe811815af83fdeccfebd6c04b99b2 (patch) | |
tree | 831c80414c3850af12c1fe70da27b79c0fe5a2ff /system/helpers/download_helper.php | |
parent | 5162fc778acb1ecc8f879578e48bde9ce767775c (diff) |
The Download helper now exits within force-download().
Diffstat (limited to 'system/helpers/download_helper.php')
-rw-r--r-- | system/helpers/download_helper.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/helpers/download_helper.php b/system/helpers/download_helper.php index 2d0e737c9..5e47fc5c9 100644 --- a/system/helpers/download_helper.php +++ b/system/helpers/download_helper.php @@ -91,7 +91,7 @@ if (! function_exists('force_download')) header("Content-Length: ".strlen($data));
}
- echo $data;
+ exit($data);
}
}
|