summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2008-05-01 05:26:24 +0200
committerDerek Allard <derek.allard@ellislab.com>2008-05-01 05:26:24 +0200
commitc39d202d35f76f8a85f357d6e86a2223258d6c07 (patch)
tree496fafb3500c817da97cd98b12931507250014ba
parentc0c5c97ffbfac81837e1913c77da7462c096ae87 (diff)
The Zip class now exits within download().
-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>