PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   Bug Tracker (http://www.phpdig.net/forum/forumdisplay.php?f=27)
-   -   Bugfix <!-- phpDigInclude --> (English version) (http://www.phpdig.net/forum/showthread.php?t=67)

Iltud 09-13-2003 11:53 AM

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;
    }
    ...
    ... 



All times are GMT -8. The time now is 03:01 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.