diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2005-03-21 22:43:07 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2005-03-21 22:43:07 +0000 |
commit | a4e51c9699c7a09bea32ad832a9818abba008801 (patch) | |
tree | 42feb7021db4bd9cb9334e65b23260d491d3b131 /phpBB/download.php | |
parent | 68b7397da8197d23dae07fc0e7927697cb1e3492 (diff) | |
download | forums-a4e51c9699c7a09bea32ad832a9818abba008801.tar forums-a4e51c9699c7a09bea32ad832a9818abba008801.tar.gz forums-a4e51c9699c7a09bea32ad832a9818abba008801.tar.bz2 forums-a4e51c9699c7a09bea32ad832a9818abba008801.tar.xz forums-a4e51c9699c7a09bea32ad832a9818abba008801.zip |
- first try to break things...
git-svn-id: file:///svn/phpbb/trunk@5108 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 691bb9e0b0..bfe7c9fa04 100644 --- a/phpBB/download.php +++ b/phpBB/download.php @@ -130,16 +130,16 @@ else // Determine the 'presenting'-method if ($download_mode == PHYSICAL_LINK) { - if (!@is_dir($phpbb_root_path . $config['upload_dir'])) + if (!@is_dir($phpbb_root_path . $config['upload_path'])) { trigger_error($user->lang['PHYSICAL_DOWNLOAD_NOT_POSSIBLE']); } - redirect($phpbb_root_path . $config['upload_dir'] . '/' . $attachment['physical_filename']); + redirect($phpbb_root_path . $config['upload_path'] . '/' . $attachment['physical_filename']); } else { - send_file_to_browser($attachment, $config['upload_dir'], $extensions[$attachment['extension']]['display_cat']); + send_file_to_browser($attachment, $config['upload_path'], $extensions[$attachment['extension']]['display_cat']); exit; } |