summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--system/libraries/Zip.php2
-rw-r--r--user_guide/changelog.html3
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</p>
<li>Modified <kbd>img()</kbd> in the <a href="helpers/html_helper.html">HTML Helper</a> to remove an unneeded space (#4208).</li>
<li>Modified <kbd>anchor()</kbd> in the <a href="helpers/url_helper.html">URL helper</a> to convert entities in the title attribute (#4209).</li>
<li>The <a href="helpers/download_helper.html">Download helper</a> now exits within <kbd>force_download()</kbd>.</li>
- </ul>
+ <li>The <a href="helpers/download_helper.html">Zip class</a> now exits within <kbd>download()</kbd>.</li>
+ </ul>
</li>
<li>Plugins
<ul>