mirror of
https://github.com/YGGverse/Yo.git
synced 2025-02-05 19:34:14 +00:00
update snap location check
This commit is contained in:
parent
5e4494c9e8
commit
22c73fb922
@ -109,9 +109,9 @@ foreach ($config->cli->document->crawl->skip->stripos->url as $condition)
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
if (file_exists($location))
|
if (is_dir($location))
|
||||||
{
|
{
|
||||||
if (unlink($location))
|
if (rmdir($location))
|
||||||
{
|
{
|
||||||
$snaps++;
|
$snaps++;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user