From 5f9a64e04f612c954026113bff4743e1210f2720 Mon Sep 17 00:00:00 2001 From: "GTDarkNightmare@gmail.com" Date: Thu, 1 Aug 2013 03:42:18 +0000 Subject: [PATCH] r529 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Наводим ясность git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@529 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293 --- ReadMe.txt | 16 ++++++++++++++-- upload/attach_mod/displaying_torrent.php | 2 +- upload/config.php | 4 ++-- upload/includes/functions_torrent.php | 2 +- upload/misc/html/sidebar1.html | 2 ++ 5 files changed, 20 insertions(+), 6 deletions(-) diff --git a/ReadMe.txt b/ReadMe.txt index 79c741fdc..765e8bd38 100644 --- a/ReadMe.txt +++ b/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/ \ No newline at end of file +Подробнее в теме http://torrentpier.me/threads/Отвязка-запуск-крона.52/ + +************************************ +** Часто задаваемые вопросы ** +************************************ + +http://torrentpier.me/threads/faq-для-новичков.260/ + +************************************ +** Где задать вопрос ** +************************************ + +http://torrentpier.me/forums/Основные-вопросы-по-torrentpier-ii.10/ \ No newline at end of file diff --git a/upload/attach_mod/displaying_torrent.php b/upload/attach_mod/displaying_torrent.php index cdab70ce2..c05a83a6f 100644 --- a/upload/attach_mod/displaying_torrent.php +++ b/upload/attach_mod/displaying_torrent.php @@ -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'; } diff --git a/upload/config.php b/upload/config.php index d226b0684..1aa28b87c 100644 --- a/upload/config.php +++ b/upload/config.php @@ -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: diff --git a/upload/includes/functions_torrent.php b/upload/includes/functions_torrent.php index be117d599..ef0996795 100644 --- a/upload/includes/functions_torrent.php +++ b/upload/includes/functions_torrent.php @@ -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); diff --git a/upload/misc/html/sidebar1.html b/upload/misc/html/sidebar1.html index f5c7eaf1d..1c293361a 100644 --- a/upload/misc/html/sidebar1.html +++ b/upload/misc/html/sidebar1.html @@ -15,6 +15,8 @@