seed bonus add log etc

This commit is contained in:
xiaomlove
2025-09-08 03:05:55 +07:00
parent ae08039323
commit 60b5aba518
53 changed files with 720 additions and 131 deletions
+4 -2
View File
@@ -93,8 +93,10 @@ $torrent = unesc($_POST["name"]);
if ($f['size'] > $max_torrent_size)
bark($lang_takeupload['std_torrent_file_too_big'].number_format($max_torrent_size).$lang_takeupload['std_remake_torrent_note']);
$tmpname = $f["tmp_name"];
if (!is_uploaded_file($tmpname))
bark("eek");
if (!is_uploaded_file($tmpname)) {
do_log("eek, FILE: " . nexus_json_encode($f), 'error');
bark("eek");
}
if (!filesize($tmpname))
bark($lang_takeupload['std_empty_file']);