PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > Bug Tracker

Reply
 
Thread Tools
Old 09-13-2003, 12:53 PM   #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
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
<!-- phpdigInclude --> and <!-- phpdigExclude --> doesn`t work Paka76 How-to Forum 0 12-06-2005 06:44 AM
Indexing "<word>-<word>"? FaberFedor How-to Forum 23 02-28-2005 04:35 AM
Instructions for use <!-- phpdigExclude --> and <!-- phpdigInclude --> maquido How-to Forum 1 06-02-2004 04:36 AM
< phpdigInclude > oliviert Troubleshooting 12 05-19-2004 03:13 AM
Bugfix <!-- phpDigInclude --> (Version française) Iltud Bug Tracker 0 09-13-2003 12:51 PM


All times are GMT -8. The time now is 05:37 PM.


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