mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 12:30:49 +08:00
seed bonus add log etc
This commit is contained in:
@@ -169,6 +169,7 @@ class UploadRepository extends BaseRepository
|
||||
throw new NexusException(nexus_trans('upload.missing_torrent_file'));
|
||||
}
|
||||
if (!$file->isValid()) {
|
||||
do_log("torrent file is invalid: " . nexus_json_encode($_FILES), 'error');
|
||||
throw new NexusException("upload torrent file error");
|
||||
}
|
||||
$size = $file->getSize();
|
||||
|
||||
Reference in New Issue
Block a user