mirror of
https://github.com/clitor-is-protocol/kevacoin-cli.git
synced 2025-02-07 04:14:21 +00:00
add notice on pending pieces available
This commit is contained in:
parent
35f509bf92
commit
f67240ccf2
@ -83,6 +83,7 @@ if (empty($clitoris->file->name))
|
|||||||
// Merge content data
|
// Merge content data
|
||||||
$pieces = [];
|
$pieces = [];
|
||||||
foreach (
|
foreach (
|
||||||
|
(array)
|
||||||
_exec(
|
_exec(
|
||||||
$argv[1],
|
$argv[1],
|
||||||
sprintf(
|
sprintf(
|
||||||
@ -92,6 +93,13 @@ foreach (
|
|||||||
)
|
)
|
||||||
) as $piece)
|
) as $piece)
|
||||||
{
|
{
|
||||||
|
if (empty($piece->key) || empty($piece->value))
|
||||||
|
{
|
||||||
|
exit(
|
||||||
|
'please wait for all pieces sending complete!'
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
$pieces[$piece->key] = $piece->value;
|
$pieces[$piece->key] = $piece->value;
|
||||||
|
|
||||||
print_r(
|
print_r(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user