From 0a34d63ab0b23b1c941169c1f65e7c8b5e34a0d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=B8nstantine=20Kovalensky?= <45331093+kovalensky@users.noreply.github.com> Date: Sat, 27 Jan 2024 22:28:31 +0400 Subject: [PATCH] Code re-formatting (#1354) --- filelist.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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']}