From 4317c3cea1654a42640f4e83b561bbc2bdd0a601 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Thu, 3 May 2018 19:55:11 +0200 Subject: Ddownload_php: Remove @ from fopen call Signed-off-by: Florian Pritz --- application/libraries/Ddownload/drivers/Ddownload_php.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/libraries/Ddownload/drivers/Ddownload_php.php b/application/libraries/Ddownload/drivers/Ddownload_php.php index 344db53f0..98af458c1 100644 --- a/application/libraries/Ddownload/drivers/Ddownload_php.php +++ b/application/libraries/Ddownload/drivers/Ddownload_php.php @@ -12,7 +12,7 @@ class Ddownload_php extends Ddownload_Driver { // Original source: http://www.phpfreaks.com/forums/index.php?topic=198274.msg895468#msg895468 public function serveFile($file, $filename, $type) { - $fp = @fopen($file, 'r'); + $fp = fopen($file, 'r'); $size = filesize($file); // File size $length = $size; // Content length -- cgit v1.2.3-24-g4f1b