mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 10:37:30 -07:00
Change paths to absolute pathname
This commit is contained in:
parent
8de3cbfba5
commit
064175c67d
81 changed files with 297 additions and 303 deletions
|
@ -302,7 +302,7 @@ function display_attachments($post_id)
|
|||
|
||||
// bt
|
||||
if ($link && ($attachments['_' . $post_id][$i]['extension'] === TORRENT_EXT)) {
|
||||
include(ATTACH_DIR . 'displaying_torrent.php');
|
||||
include ATTACH_DIR . '/displaying_torrent.php';
|
||||
} elseif ($link) {
|
||||
$target_blank = ((@intval($display_categories[$attachments['_' . $post_id][$i]['extension']]) == IMAGE_CAT)) ? 'target="_blank"' : '';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue