diff --git a/src/cli/document/crawl.php b/src/cli/document/crawl.php index b9dedc4..9c7cb20 100644 --- a/src/cli/document/crawl.php +++ b/src/cli/document/crawl.php @@ -525,8 +525,9 @@ foreach($search->get() as $document) $filename = sprintf( '%s/%s', $filepath, - basename( - $tmp + sprintf( + '%s.tar.gz', + $time ) ); @@ -588,8 +589,9 @@ foreach($search->get() as $document) $filename = sprintf( '%s/%s', $filepath, - basename( - $tmp + sprintf( + '%s.tar.gz', + $time ) );