mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 22:33:55 -07:00
Небольшие исправления трекера
This commit is contained in:
parent
47f9c6d376
commit
242ff4fc4b
6 changed files with 11 additions and 20 deletions
22
.gitignore
vendored
22
.gitignore
vendored
|
@ -2,14 +2,14 @@
|
|||
.idea/
|
||||
composer.phar
|
||||
composer.lock
|
||||
data/avatars/
|
||||
data/files/
|
||||
internal_data/ajax_html/
|
||||
internal_data/atom/
|
||||
internal_data/cache/
|
||||
internal_data/log/
|
||||
internal_data/sitemap/
|
||||
internal_data/triggers/
|
||||
data/avatars
|
||||
data/torrent_files
|
||||
internal_data/ajax_html
|
||||
internal_data/atom
|
||||
internal_data/cache
|
||||
internal_data/log
|
||||
internal_data/sitemap
|
||||
internal_data/triggers
|
||||
library/config.local.php
|
||||
vendor
|
||||
|
||||
|
@ -35,8 +35,4 @@ $RECYCLE.BIN/
|
|||
.Spotlight-V100
|
||||
.Trashes
|
||||
*.orig
|
||||
*.rej
|
||||
|
||||
### TEMP ###
|
||||
data/old_files/
|
||||
data/torrent_files/
|
||||
*.rej
|
|
@ -26,7 +26,6 @@ TorrentPier - движок торрент-трекера, написанный
|
|||
|
||||
Исходя из настроек вашего сервера, устанавливаем рекомендуемые права доступа (chmod) на указанные папки **777**, а на файлы внутри этих папок (кроме файлов **.htaccess** и **.keep**) **666**:
|
||||
- data/avatars
|
||||
- data/old_files
|
||||
- data/torrent_files
|
||||
- internal_data/ajax_html
|
||||
- internal_data/atom
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
php_flag engine off
|
||||
RemoveHandler .php .php5 .php4 .php3 .phtml .pl .asp
|
||||
AddType text/plain .php .php .htm .html .phtml .pl .asp
|
|
@ -285,7 +285,7 @@ define('PAGE_HEADER', INC_DIR .'page_header.php');
|
|||
define('PAGE_FOOTER', INC_DIR .'page_footer.php');
|
||||
|
||||
define('CAT_URL', 'index.php?c=');
|
||||
define('DOWNLOAD_URL', 'dl.php?id=');
|
||||
define('DOWNLOAD_URL', 'dl.php?t=');
|
||||
define('FORUM_URL', 'viewforum.php?f=');
|
||||
define('GROUP_URL', 'group.php?g=');
|
||||
define('LOGIN_URL', $bb_cfg['login_url']);
|
||||
|
|
|
@ -411,7 +411,7 @@ $(function(){
|
|||
<!-- ENDIF -->
|
||||
<td class="row4 small nowrap">
|
||||
<u>{tor.TOR_SIZE_RAW}</u>
|
||||
<!-- IF not tor.TOR_FROZEN --><a class="small tr-dl" title="{L_DOWNLOAD}" href="{DOWNLOAD_URL}{tor.ATTACH_ID}">{tor.TOR_SIZE}</a> <!-- IF MAGNET_LINKS --><span title="{L_MAGNET}">{tor.MAGNET}</span><!-- ENDIF --><!-- ELSE -->
|
||||
<!-- IF not tor.TOR_FROZEN --><a class="small tr-dl" title="{L_DOWNLOAD}" href="{DOWNLOAD_URL}{tor.TOPIC_ID}">{tor.TOR_SIZE}</a> <!-- IF MAGNET_LINKS --><span title="{L_MAGNET}">{tor.MAGNET}</span><!-- ENDIF --><!-- ELSE -->
|
||||
{tor.TOR_SIZE}<!-- ENDIF -->
|
||||
</td>
|
||||
<td class="row4 seedmed" title="{tor.SEEDS_TITLE}"><b>{tor.SEEDS}</b></td>
|
||||
|
|
|
@ -801,7 +801,6 @@ if ($allowed_forums)
|
|||
'TOPIC_ID' => $tor['topic_id'],
|
||||
'TOPIC_TITLE' => wbr($tor['topic_title']),
|
||||
'TOPIC_TIME' => bb_date($tor['topic_time'], 'd-M-y') .' <b>·</b> '. delta_time($tor['topic_time']),
|
||||
'POST_ID' => $tor['post_id'],
|
||||
'POSTER_ID' => $poster_id,
|
||||
'USERNAME' => ($hide_author) ? '' : profile_url(array('username' => $tor['username'], 'user_rank' => $tor['user_rank'])),
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue