PDA

View Full Version : Bugfix <!-- phpDigInclude --> (English version)


Iltud
09-13-2003, 12:53 PM
When using the tags <!-- phpDigExclude --> and <!-- phpDigInclude -->, the word "phpDigInclude" is indexed and is considered as full text.
So, "phpDigInclude" is inserted in the table "keywords" and it is displayed in the text snippets after a search.

To fix this, in the file robot_functions.php, add the instruction "continue;" at the ligne #777, just before the closing brace.
The result should be like this :


...
...
else if (trim($line) == PHPDIG_INCLUDE_COMMENT) {
$exclude = false;
continue;
}
...
...