From c39d202d35f76f8a85f357d6e86a2223258d6c07 Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Thu, 1 May 2008 03:26:24 +0000 Subject: The Zip class now exits within download(). --- system/libraries/Zip.php | 2 +- user_guide/changelog.html | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/system/libraries/Zip.php b/system/libraries/Zip.php index a3d42f34c..fab8e7f6b 100644 --- a/system/libraries/Zip.php +++ b/system/libraries/Zip.php @@ -351,7 +351,7 @@ class CI_Zip { header("Content-Length: ".strlen($this->get_zip())); } - echo $this->get_zip(); + exit($this->get_zip()); } // -------------------------------------------------------------------- diff --git a/user_guide/changelog.html b/user_guide/changelog.html index ef1b7ace7..f52aa7732 100644 --- a/user_guide/changelog.html +++ b/user_guide/changelog.html @@ -93,7 +93,8 @@ SVN Commit: not currently released

  • Modified img() in the HTML Helper to remove an unneeded space (#4208).
  • Modified anchor() in the URL helper to convert entities in the title attribute (#4209).
  • The Download helper now exits within force_download().
  • - +
  • The Zip class now exits within download().
  • +
  • Plugins