mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 06:13:58 -07:00
r332
Фикс скачки торрента автором git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@332 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
parent
8e15416ce3
commit
a078829dce
3 changed files with 11 additions and 3 deletions
|
@ -211,7 +211,7 @@ if ($tor_reged && $tor_info)
|
|||
'DOWNLOAD_NAME' => $display_name,
|
||||
'TRACKER_LINK' => $tracker_link,
|
||||
'ATTACH_ID' => $attach_id,
|
||||
'TOR_FROZEN' => (!IS_AM) ? isset($bb_cfg['tor_frozen'][$tor_info['tor_status']]) : '',
|
||||
'TOR_FROZEN' => (!IS_AM) ? (isset($bb_cfg['tor_frozen'][$tor_info['tor_status']]) && !(isset($bb_cfg['tor_frozen_author_download'][$tor_info['tor_status']]) && $userdata['user_id'] == $tor_info['poster_id'])) ? true : '' : '',
|
||||
'TOR_SILVER_GOLD' => $tor_type,
|
||||
|
||||
// torrent status mod
|
||||
|
|
|
@ -63,8 +63,8 @@ $bb_cfg = $tr_cfg = $page_cfg = array();
|
|||
|
||||
// Increase number of revision after update
|
||||
$bb_cfg['tp_version'] = '2.4 (beta)';
|
||||
$bb_cfg['tp_release_state'] = 'R331';
|
||||
$bb_cfg['tp_release_date'] = '29-11-2011';
|
||||
$bb_cfg['tp_release_state'] = 'R332';
|
||||
$bb_cfg['tp_release_date'] = '03-12-2011';
|
||||
|
||||
// Database
|
||||
$charset = 'utf8';
|
||||
|
|
|
@ -314,6 +314,14 @@ $bb_cfg['tor_frozen'] = array(
|
|||
TOR_NO_DESC => true,
|
||||
TOR_PREMOD => true,
|
||||
);
|
||||
|
||||
// Разрешение на скачку автором, если закрыто на скачивание.
|
||||
$bb_cfg['tor_frozen_author_download'] = array(
|
||||
TOR_CHECKING => true,
|
||||
TOR_NO_DESC => true,
|
||||
TOR_PREMOD => true,
|
||||
);
|
||||
|
||||
// Запрет на редактирование головного сообщения
|
||||
$bb_cfg['tor_cannot_edit'] = array(
|
||||
TOR_CHECKING => true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue