aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/download.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/download.php')
-rw-r--r--phpBB/download.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/download.php b/phpBB/download.php
index dd81f1df4c..f60b4e08bd 100644
--- a/phpBB/download.php
+++ b/phpBB/download.php
@@ -231,9 +231,9 @@ function send_file_to_browser($attachment, $upload_dir, $category)
* Not really ideal, but should work fine...
* <code>
* if (strpos($upload_dir, '/') !== 0 && strpos($upload_dir, '../') === false)
- {
- header('X-Sendfile: ' . $filename);
- }
+ * {
+ * header('X-Sendfile: ' . $filename);
+ * }
* </code>
*/