|
|
@ -294,6 +294,9 @@ foreach($index->search('') |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
else |
|
|
|
else |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
// Custom resolver required to continue |
|
|
|
|
|
|
|
if ($config->cli->document->crawl->resolver->require) |
|
|
|
{ |
|
|
|
{ |
|
|
|
// Log event |
|
|
|
// Log event |
|
|
|
if ($config->cli->document->crawl->debug->level->warning) |
|
|
|
if ($config->cli->document->crawl->debug->level->warning) |
|
|
@ -316,6 +319,27 @@ foreach($index->search('') |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Use system-wide resolver, break the pending loop |
|
|
|
|
|
|
|
else |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
if ($config->cli->document->crawl->debug->level->warning) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
echo sprintf( |
|
|
|
|
|
|
|
_('[%s] [warning] could not resolve "%s" (attempt: %d, response: %s), use system-wide...') . PHP_EOL, |
|
|
|
|
|
|
|
date('c'), |
|
|
|
|
|
|
|
$base->getHost(), |
|
|
|
|
|
|
|
$attempt++, |
|
|
|
|
|
|
|
print_r( |
|
|
|
|
|
|
|
$errors, |
|
|
|
|
|
|
|
true |
|
|
|
|
|
|
|
) |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} while (!$resolved); |
|
|
|
} while (!$resolved); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|