Browse Source

update snap location check

main
yggverse 8 months ago
parent
commit
22c73fb922
  1. 4
      src/cli/document/clean.php

4
src/cli/document/clean.php

@ -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…
Cancel
Save