View Single Post
Old 09-13-2003, 11:53 AM   #1
Iltud
Green Mole
 
Join Date: Sep 2003
Location: Brest - France
Posts: 22
Post Bugfix <!-- phpDigInclude --> (English version)

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 :

PHP Code:
    ...
    ...
    else if (
trim($line) == PHPDIG_INCLUDE_COMMENT) {
        
$exclude false;
        continue;
    }
    ...
    ... 
Iltud is offline   Reply With Quote