From 01c612530ce01b278a971bfdf6d5c35cba9ea803 Mon Sep 17 00:00:00 2001 From: xiaomlove Date: Wed, 17 Sep 2025 04:37:47 +0700 Subject: [PATCH] fix shoutbox refresh interval --- public/download.php | 2 +- public/shoutbox.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/download.php b/public/download.php index 14d3bac6..b963f14e 100644 --- a/public/download.php +++ b/public/download.php @@ -91,7 +91,7 @@ if ($CURUSER['downloadpos']=="no") { $res = sql_query("SELECT torrents.name, torrents.filename, torrents.save_as, torrents.size, torrents.owner, torrents.banned, torrents.approval_status, torrents.price, categories.mode as search_box_id FROM torrents left join categories on torrents.category = categories.id WHERE torrents.id = ".sqlesc($id)) or sqlerr(__FILE__, __LINE__); $row = mysql_fetch_assoc($res); if (!$row) { - do_log("[TORRENT_NOT_EXISTS_IN_DATABASE] $id", 'error'); + do_log("[TORRENT_NOT_EXISTS_IN_DATABASE] $id"); httperr(); } $fn = getFullDirectory("$torrent_dir/$id.torrent"); diff --git a/public/shoutbox.php b/public/shoutbox.php index 79597e29..5f44a194 100644 --- a/public/shoutbox.php +++ b/public/shoutbox.php @@ -25,7 +25,7 @@ $refresh = ($CURUSER['sbrefresh'] ?? 120)