mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 14:23:57 -07:00
r529
Наводим ясность git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@529 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
parent
99d96814ca
commit
5f9a64e04f
5 changed files with 20 additions and 6 deletions
16
ReadMe.txt
16
ReadMe.txt
|
@ -41,7 +41,7 @@ mbstring.internal_encoding = UTF-8
|
|||
magic_quotes_gpc = Off
|
||||
|
||||
************************************
|
||||
** Необходимые модули для php **
|
||||
** Необходимые модули для php **
|
||||
************************************
|
||||
|
||||
php5-tidy
|
||||
|
@ -51,4 +51,16 @@ php5-sqlite
|
|||
** Необходимый запуск cron.php **
|
||||
************************************
|
||||
|
||||
Подробнее в теме http://torrentpier.me/threads/Отвязка-запуск-крона.52/
|
||||
Подробнее в теме http://torrentpier.me/threads/Отвязка-запуск-крона.52/
|
||||
|
||||
************************************
|
||||
** Часто задаваемые вопросы **
|
||||
************************************
|
||||
|
||||
http://torrentpier.me/threads/faq-для-новичков.260/
|
||||
|
||||
************************************
|
||||
** Где задать вопрос **
|
||||
************************************
|
||||
|
||||
http://torrentpier.me/forums/Основные-вопросы-по-torrentpier-ii.10/
|
|
@ -86,7 +86,7 @@ if ($tor_auth_reg || $tor_auth_del)
|
|||
$tracker_link = ($tor_reged) ? $unreg_tor_url : $reg_tor_url;
|
||||
}
|
||||
|
||||
if ($bb_cfg['torrent_style'])
|
||||
if ($bb_cfg['torrent_name_style'])
|
||||
{
|
||||
$display_name = '['.$domain_name.'].t' . $bt_topic_id . '.torrent';
|
||||
}
|
||||
|
|
|
@ -57,7 +57,7 @@ $domain_name = (!empty($_SERVER['SERVER_NAME'])) ? $_SERVER['SERVER_NAME'] : $do
|
|||
// Increase number of revision after update
|
||||
$bb_cfg['tp_version'] = '2.5 (unstable)';
|
||||
$bb_cfg['tp_release_date'] = '01-08-2013';
|
||||
$bb_cfg['tp_release_state'] = 'R528';
|
||||
$bb_cfg['tp_release_state'] = 'R529';
|
||||
|
||||
// Database
|
||||
$charset = 'utf8';
|
||||
|
@ -178,7 +178,7 @@ $bb_cfg['allow_dl_list_names_mode'] = true;
|
|||
|
||||
// Torrents
|
||||
$bb_cfg['torrent_sign'] = ''; // e.g. "[yoursite.com]"
|
||||
$bb_cfg['torrent_style'] = false;
|
||||
$bb_cfg['torrent_name_style'] = false; // Use torrent name style [yoursite.com].txxx.torrent
|
||||
$bb_cfg['tor_help_links'] = '';
|
||||
|
||||
// Сколько дней сохранять торрент зарегистрированным / Days to keep torrent registered, if:
|
||||
|
|
|
@ -611,7 +611,7 @@ function send_torrent_with_passkey ($filename)
|
|||
$charset = (strpos(USER_AGENT, 'pera') && @$lang['CONTENT_ENCODING']) ? "charset={$lang['CONTENT_ENCODING']};" : '';
|
||||
|
||||
header("Content-Type: $mimetype $charset name=\"$filename\"");
|
||||
if ($bb_cfg['torrent_style'])
|
||||
if ($bb_cfg['torrent_name_style'])
|
||||
{
|
||||
$header_file_name = 'Content-Disposition: attachment; filename="['.$domain_name.'].t' . $topic_id . '.torrent"';
|
||||
header($header_file_name);
|
||||
|
|
|
@ -15,6 +15,8 @@
|
|||
<ul class="med">
|
||||
<li><a href="misc.php?do=info&show=user_agreement" class="med" onclick="window.open(this.href, '', InfoWinParams); return false;"><b>Правила пользования данным ресурсом</b></a></li>
|
||||
<li><a href="faq.php?mode=bbcode" class="med">Руководство по BBCode</a></li>
|
||||
<li><a href="http://torrentpier.me/threads/faq-для-новичков.260" class="med">FAQ для новичков</a></li>
|
||||
<li><a href="http://torrentpier.me/forums/Основные-вопросы-по-torrentpier-ii.10" class="med">Где задать вопрос?</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue