diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2006-11-02 15:23:33 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2006-11-02 15:23:33 +0000 |
commit | a3bf1ed63ec7aa281b0d47d6f3e87eeeeafbaff5 (patch) | |
tree | e13dd92e386cb98de51bd0730fdd569efe6e5f36 /phpBB/download.php | |
parent | 21a002e4ac28f8e65e2c865eb171a44ac4054044 (diff) | |
download | forums-a3bf1ed63ec7aa281b0d47d6f3e87eeeeafbaff5.tar forums-a3bf1ed63ec7aa281b0d47d6f3e87eeeeafbaff5.tar.gz forums-a3bf1ed63ec7aa281b0d47d6f3e87eeeeafbaff5.tar.bz2 forums-a3bf1ed63ec7aa281b0d47d6f3e87eeeeafbaff5.tar.xz forums-a3bf1ed63ec7aa281b0d47d6f3e87eeeeafbaff5.zip |
some updates; and hopefully not completely breaking redirects (again). :D You know, i like breaking things.
git-svn-id: file:///svn/phpbb/trunk@6544 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/download.php')
-rw-r--r-- | phpBB/download.php | 6 |
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> */ |