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 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;
}