mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 22:03:49 -07:00
File listing — use browser cache (#1164)
This commit is contained in:
parent
c9bd92e781
commit
3c7f3cf7d0
1 changed files with 2 additions and 0 deletions
|
@ -58,6 +58,8 @@ if (isset($torrent['info']['private']) && IS_GUEST) {
|
|||
die($lang['BT_PRIVATE_TORRENT']);
|
||||
}
|
||||
|
||||
header('Cache-Control: public, max-age=3600');
|
||||
|
||||
$files = (new TorrentPier\Legacy\TorrentFileList($torrent)) -> fileTreeTable($torrent['info']['file tree']);
|
||||
|
||||
$data = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue