An idea to try...
In robot_functions.php find:
PHP Code:
foreach ($file_content as $num => $line) {
if (trim($line)) {
if ($content_type == 'HTML' && trim($line) == PHPDIG_EXCLUDE_COMMENT) {
$exclude = true;
}
else if (trim($line) == PHPDIG_INCLUDE_COMMENT) {
$exclude = false;
continue;
}
and replace with:
PHP Code:
if ($file && eregi("index.php",$file)) {
// tags must be on their own lines
$the_exclude_comment = "<html>";
$the_include_comment = "</html>";
}
else {
$the_exclude_comment = PHPDIG_EXCLUDE_COMMENT;
$the_include_comment = PHPDIG_INCLUDE_COMMENT;
}
foreach ($file_content as $num => $line) {
if (trim($line)) {
if ($content_type == 'HTML' && trim($line) == $the_exclude_comment) {
$exclude = true;
}
else if (trim($line) == $the_include_comment) {
$exclude = false;
continue;
}