summaryrefslogtreecommitdiffstats
path: root/application/libraries/Ddownload/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'application/libraries/Ddownload/drivers')
-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