From 45638a5de3c8c05c1792f8a3ab93acb11a2c1a86 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Tue, 30 Aug 2016 08:13:33 +0200 Subject: Option to disable linked URL indexing Resolves: #2 --- data/config.php.dist | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'data') diff --git a/data/config.php.dist b/data/config.php.dist index b4d7d5c..dc1cff8 100644 --- a/data/config.php.dist +++ b/data/config.php.dist @@ -1,6 +1,7 @@ 'http://127.0.0.1:9200/phinde/', + //whitelist of domains that shall be crawled 'domains' => array( 'www.example.org', 'test.example.org' @@ -15,5 +16,8 @@ $GLOBALS['phinde'] = array( ), //time in seconds after which URLs may be re-indexed 'refreshtime' => 86400, + //if directly linked URLs shall be indexed, even if they are + // on a non-whitelisted domain + 'indexNonAllowed' => true, ); ?> \ No newline at end of file -- cgit v1.2.3