summaryrefslogtreecommitdiffstats
path: root/application/libraries
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2018-05-03 19:55:11 +0200
committerFlorian Pritz <bluewind@xinu.at>2018-05-03 19:55:11 +0200
commit4317c3cea1654a42640f4e83b561bbc2bdd0a601 (patch)
treea54a91c20e091fea623573f9e56ed71a82a7862c /application/libraries
parentbf50f4644a81e7cb15f4119907011b81c41943e0 (diff)
Ddownload_php: Remove @ from fopen call
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/libraries')
-rw-r--r--application/libraries/Ddownload/drivers/Ddownload_php.php2
1 files changed, 1 insertions, 1 deletions
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