diff --git a/filelist.php b/filelist.php index a93a3953d..05b1374e9 100644 --- a/filelist.php +++ b/filelist.php @@ -35,9 +35,11 @@ if (empty($row['physical_filename'])) { bb_simple_die($lang['INVALID_TOPIC_ID_DB'], 404); } -// Method fields +// Protocol meta $meta_v1 = !empty($row['info_hash']); $meta_v2 = !empty($row['info_hash_v2']); + +// Method fields $t_version_field = $meta_v2 ? 'v2' : 'v1'; $t_files_field = $meta_v2 ? 'getFileTree' : 'getFiles'; $t_hash_field = $meta_v2 ? 'piecesRoot' : 'sha1'; @@ -183,7 +185,7 @@ sup { opacity: 0.97; } -🠔 Back to the topic +← Back to the topic

Name: {$data['name']} | Date: {$data['date']} | Size: {$data['size']}