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
6f954ac301
commit
d80d6a85be
2
dl.php
2
dl.php
@ -176,7 +176,7 @@ for ($i = 0; $i < $num_rows; $i++)
|
||||
// Disallowed
|
||||
if (!in_array($attachment['extension'], $allowed_extensions))
|
||||
{
|
||||
bb_die(sprintf($lang['EXTENSION_DISABLED_AFTER_POSTING'], $attachment['extension']) . "<br /><br />" . $attachment['physical_filename']);
|
||||
bb_die(sprintf($lang['EXTENSION_DISABLED_AFTER_POSTING'], $attachment['extension']) . "<br /><br />" . $lang['FILENAME'] . ": " . $attachment['physical_filename']);
|
||||
}
|
||||
|
||||
$download_mode = intval($download_mode[$attachment['extension']]);
|
||||
|
Loading…
Reference in New Issue
Block a user