summaryrefslogtreecommitdiffstats
path: root/application/libraries/Ddownload/drivers/Ddownload_lighttpd.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2013-09-23 18:20:34 +0200
committerFlorian Pritz <bluewind@xinu.at>2013-09-23 18:20:34 +0200
commitd5cfd22f8dda4bacd6e0fe384344cf1fb9f2d66e (patch)
treea790a489f5fe558fbcd21f2f8e02e196d35541d7 /application/libraries/Ddownload/drivers/Ddownload_lighttpd.php
parent635b0717931df907ee8015a42ad0ed1fcdf967c4 (diff)
Remove unneeded return statements after show_error
show_error() already exits after displaying the message. Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/libraries/Ddownload/drivers/Ddownload_lighttpd.php')
-rw-r--r--application/libraries/Ddownload/drivers/Ddownload_lighttpd.php1
1 files changed, 0 insertions, 1 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");