aboutsummaryrefslogtreecommitdiff
path: root/bin/crawl.php
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2016-02-03 22:37:15 +0100
committerChristian Weiske <cweiske@cweiske.de>2016-02-03 22:37:15 +0100
commitf156497be5637d7815ae57370e8b175ce6960a19 (patch)
tree6363a52913e006e90b223f17f6aa39206f153ffd /bin/crawl.php
parent915b66fe6ca517610a41acec0a71597e7cee0807 (diff)
downloadphinde-f156497be5637d7815ae57370e8b175ce6960a19.tar.gz
phinde-f156497be5637d7815ae57370e8b175ce6960a19.zip
fix indexing, boost config
Diffstat (limited to 'bin/crawl.php')
-rwxr-xr-xbin/crawl.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/crawl.php b/bin/crawl.php
index 17b1fc3..e39a622 100755
--- a/bin/crawl.php
+++ b/bin/crawl.php
@@ -86,7 +86,7 @@ foreach ($links as $link) {
//var_dump($linkTitle, $linkUrl);
$es->markQueued($linkUrl);
addToIndex($linkUrl, $linkTitle, $url);
- if (isUrlAllowed($linkUrl)) {
+ if (Helper::isUrlAllowed($linkUrl)) {
addToCrawl($linkUrl);
}
$alreadySeen[$linkUrl] = true;