summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--application/libraries/Ddownload/drivers/Ddownload_lighttpd.php1
-rw-r--r--application/libraries/Ddownload/drivers/Ddownload_nginx.php1
2 files changed, 0 insertions, 2 deletions
diff --git a/application/libraries/Ddownload/drivers/Ddownload_lighttpd.php b/application/libraries/Ddownload/drivers/Ddownload_lighttpd.php
index 31db4d340..780f60838 100644
--- a/application/libraries/Ddownload/drivers/Ddownload_lighttpd.php
+++ b/application/libraries/Ddownload/drivers/Ddownload_lighttpd.php
@@ -16,7 +16,6 @@ class Ddownload_lighttpd extends Ddownload_Driver {
if (strpos($file, $upload_path) !== 0) {
show_error('Invalid file path');
- return;
}
header('Content-disposition: inline; filename="'.$filename."\"\n");
diff --git a/application/libraries/Ddownload/drivers/Ddownload_nginx.php b/application/libraries/Ddownload/drivers/Ddownload_nginx.php
index 5fb6ffa87..2410df4d4 100644
--- a/application/libraries/Ddownload/drivers/Ddownload_nginx.php
+++ b/application/libraries/Ddownload/drivers/Ddownload_nginx.php
@@ -19,7 +19,6 @@ class Ddownload_nginx extends Ddownload_Driver {
$file_path = substr($file, strlen($upload_path));
} else {
show_error('Invalid file path');
- return;
}
header('Content-disposition: inline; filename="'.$filename."\"\n");