| 1 |
<?php |
<?php |
| 2 |
// $Id: boost.install,v 1.2.2.1.2.3.2.71 2009/11/02 22:48:31 mikeytown2 Exp $ |
// $Id: boost.install,v 1.2.2.1.2.3.2.72 2009/11/11 08:35:02 mikeytown2 Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 85 |
} |
} |
| 86 |
|
|
| 87 |
$cache_directories = array_unique($cache_directories); |
$cache_directories = array_unique($cache_directories); |
| 88 |
$htaccess = stristr($_SERVER["SERVER_SOFTWARE"], 'apache') ? file_get_contents('.htaccess') : FALSE; |
$htaccess = stristr($_SERVER["SERVER_SOFTWARE"], 'apache') ? file_get_contents(dirname($_SERVER["SCRIPT_FILENAME"]) . '/.htaccess') : FALSE; |
| 89 |
if (BOOST_CRAWL_ON_CRON) { |
if (BOOST_CRAWL_ON_CRON) { |
| 90 |
$crawler_response = drupal_http_request(BOOST_CRAWLER_SELF . '&test=1'); |
$crawler_response = drupal_http_request(BOOST_CRAWLER_SELF . '&test=1'); |
| 91 |
$crawler_response = $crawler_response->code; |
$crawler_response = $crawler_response->code; |