mirror of
https://github.com/YGGverse/Yo.git
synced 2025-03-13 05:41:18 +00:00
add debug output on skip condition
This commit is contained in:
parent
3306dc1961
commit
86b20cbc51
@ -311,7 +311,19 @@ foreach($search->get() as $document)
|
||||
}
|
||||
}
|
||||
|
||||
if ($skip) continue;
|
||||
if ($skip)
|
||||
{
|
||||
echo sprintf(
|
||||
'skip "%s" by stripos condition "%s"' . PHP_EOL,
|
||||
$url,
|
||||
print_r(
|
||||
$config->cli->document->crawl->skip->stripos->url,
|
||||
true
|
||||
)
|
||||
);
|
||||
|
||||
continue;
|
||||
}
|
||||
|
||||
// Save index
|
||||
$url = trim($url);
|
||||
|
Loading…
x
Reference in New Issue
Block a user