The Zip class now exits within download().
diff --git a/system/libraries/Zip.php b/system/libraries/Zip.php
index a3d42f3..fab8e7f 100644
--- a/system/libraries/Zip.php
+++ b/system/libraries/Zip.php
@@ -351,7 +351,7 @@
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 ef1b7ac..f52aa77 100644
--- a/user_guide/changelog.html
+++ b/user_guide/changelog.html
@@ -93,7 +93,8 @@
<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>