com web/php: Whopsy, remove debug size :P: include/get-download.inc
| From: | Hannes Magnusson | Date: | Thu, 21 Nov 2013 19:55:57 +0000 |
| Subject: | com web/php: Whopsy, remove debug size :P: include/get-download.inc | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-17161@lists.php.net to get a copy of this message | ||
Commit: 7ec105c4f8c0baf91c757fb7464db9ef4d1c1a75
Author: Hannes Magnusson <bjori@mongodb.com> Thu, 21 Nov 2013 11:55:57 -0800
Parents: aeccc5547a33fb5d0de07d40bacd47d668835316
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=7ec105c4f8c0baf91c757fb7464db9ef4d1c1a75
Log:
Whopsy, remove debug size :P
Changed paths:
M include/get-download.inc
Diff:
diff --git a/include/get-download.inc b/include/get-download.inc
index f05a61e..ee16230 100644
--- a/include/get-download.inc
+++ b/include/get-download.inc
@@ -45,7 +45,7 @@ EOT;
// Set local file name
$local_file = $_SERVER['DOCUMENT_ROOT'] . '/distributions/' . $file;
// Try to get filesize to display
- $size = @filesize($local_file)+11;
+ $size = @filesize($local_file);
?>