summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2008-05-01 03:56:51 +0200
committerDerek Allard <derek.allard@ellislab.com>2008-05-01 03:56:51 +0200
commitc0c5c97ffbfac81837e1913c77da7462c096ae87 (patch)
treebb431084a58830ffcc8dd6216bea8eb2c8372e13
parenta9911fc06160f9d4538475e2bf9ee45c9ff8f746 (diff)
revert... Derek's an idiot
-rw-r--r--system/helpers/download_helper.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/system/helpers/download_helper.php b/system/helpers/download_helper.php
index ee3d78f25..5e47fc5c9 100644
--- a/system/helpers/download_helper.php
+++ b/system/helpers/download_helper.php
@@ -91,8 +91,7 @@ if (! function_exists('force_download'))
header("Content-Length: ".strlen($data));
}
- echo $data;
- exit; // exit($data); // didn't work on some browsers
+ exit($data);
}
}