PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > Bug Tracker

Reply
 
Thread Tools
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
Reply

Thread Tools

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 05:44 AM
Indexing "<word>-<word>"? FaberFedor How-to Forum 23 02-28-2005 03:35 AM
Instructions for use <!-- phpdigExclude --> and <!-- phpdigInclude --> maquido How-to Forum 1 06-02-2004 03:36 AM
< phpdigInclude > oliviert Troubleshooting 12 05-19-2004 02:13 AM
Bugfix <!-- phpDigInclude --> (Version française) Iltud Bug Tracker 0 09-13-2003 11:51 AM


All times are GMT -8. The time now is 11:17 AM.


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