summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/session_spider.php14
1 files changed, 0 insertions, 14 deletions
diff --git a/includes/session_spider.php b/includes/session_spider.php
index 5565cffb22..c9dae20b1f 100644
--- a/includes/session_spider.php
+++ b/includes/session_spider.php
@@ -313,20 +313,6 @@ if(!$real) {
Zend_Session::setId(gen_spider_session_name($spider_name, ""));
}
-// stop spiders from accessing certain parts of the site
-$bots_not_allowed = array(
-'/reports/',
-'/includes/',
-'config',
-'clippings',
-'gedrecord.php'
-);
-if ($SEARCH_SPIDER && in_array(WT_SCRIPT_NAME, $bots_not_allowed)) {
- header("HTTP/1.0 403 Forbidden");
- print "Sorry, this page is not available for search engine bots.";
- exit;
-}
-
// Manual Search Engine IP Address tagging
// Allow an admin to mark IP addresses as known search engines even if
// they are not automatically detected above. Setting his own IP address