mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 20:40:49 +08:00
announce use new checkClient()
This commit is contained in:
@@ -62,7 +62,8 @@ class Test extends Command
|
||||
$peerId = '-TR2920-9bqp8iu7v9se';
|
||||
$agent = 'Transmission/2.92';
|
||||
$rep = new AgentAllowRepository();
|
||||
$r = $rep->checkClient($peerId, $agent, true);
|
||||
// $r = $rep->checkClient($peerId, $agent, true);
|
||||
$r = array_slice([1,2], 1, 3);
|
||||
dd($r);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user