? boost-652508.patch
? boost-653098.patch
Index: boost.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/boost/boost.install,v
retrieving revision 1.2.2.1.2.3.2.78
diff -u -p -r1.2.2.1.2.3.2.78 boost.install
--- boost.install	5 Dec 2009 06:30:38 -0000	1.2.2.1.2.3.2.78
+++ boost.install	8 Dec 2009 07:27:37 -0000
@@ -63,6 +63,7 @@ function boost_uninstall() {
  * Implementation of hook_requirements().
  */
 function boost_requirements($phase) {
+  global $base_root;
   $requirements = array();
   $t = get_t();
   switch ($phase) {
@@ -91,7 +92,13 @@ function boost_requirements($phase) {
         $crawler_response = drupal_http_request(BOOST_CRAWLER_SELF . '&test=1');
         $crawler_response = $crawler_response->code;
       }
-      $robots = file_exists('robots.txt') ? file_get_contents('robots.txt') : FALSE;
+      $robots = drupal_http_request('http://' . check_plain($_SERVER['HTTP_HOST']) . '/robots.txt');
+      if ($robots->code == 200) {
+        $robots = $robots->data;
+      }
+      else {
+        $robots = FALSE;
+      }
 
       foreach ($cache_directories as $cache_directory) {
         _boost_mkdir_p($cache_directory);
