mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update dl.php
This commit is contained in:
parent
e2739cdf87
commit
529da96e1c
6
dl.php
6
dl.php
@ -226,7 +226,7 @@ if ($download_mode == PHYSICAL_LINK)
|
||||
header('Location: ' . $url);
|
||||
exit;
|
||||
}
|
||||
else
|
||||
elseif ($download_mode == INLINE_LINK)
|
||||
{
|
||||
if ((IS_GUEST && !$bb_cfg['captcha']['disabled']) && !bb_captcha('check'))
|
||||
{
|
||||
@ -252,3 +252,7 @@ else
|
||||
send_file_to_browser($attachment, $upload_dir);
|
||||
exit;
|
||||
}
|
||||
else
|
||||
{
|
||||
bb_die('Incorrect download mode');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user