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
981cb4bed5
commit
cf87cb979d
2
dl.php
2
dl.php
@ -172,7 +172,7 @@ $datastore->rm('cat_forums');
|
||||
//
|
||||
// Check tor status
|
||||
//
|
||||
if (!IS_AM && (strpos($attachment['mimetype'], 'bittorrent') !== false))
|
||||
if (!IS_AM && !(strpos($attachment['mimetype'], 'bittorrent') === false))
|
||||
{
|
||||
$sql = "SELECT tor_status, poster_id FROM " . BB_BT_TORRENTS . " WHERE attach_id = " . (int) $attachment['attach_id'];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user