summaryrefslogtreecommitdiffstats
path: root/system/libraries
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 /system/libraries
parentc0c5c97ffbfac81837e1913c77da7462c096ae87 (diff)
The Zip class now exits within download().
Diffstat (limited to 'system/libraries')
-rw-r--r--system/libraries/Zip.php2
1 files changed, 1 insertions, 1 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());
}
// --------------------------------------------------------------------