PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > Bug Tracker

Reply
 
Thread Tools
Old 09-13-2003, 11:51 AM   #1
Iltud
Green Mole
 
Join Date: Sep 2003
Location: Brest - France
Posts: 22
Post Bugfix <!-- phpDigInclude --> (Version française)

Lors de l'utilisation des balises <!-- phpDigExclude --> et <!-- phpDigInclude -->, le mot "phpDigInclude" est indexé comme étant du texte normal.
Du coup, "phpDigInclude" est inséré dans la table "keywords" et il apparait dans les extraits donnés lors d'une recherche.

Pour corriger ça, dans le fichier robot_functions.php, rajoutez l'instruction "continue;" Ã* la ligne 777, juste avant l'accolade fermante.
Le résultat doit être le suivant :

PHP Code:

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

Last edited by Iltud; 09-13-2003 at 11:56 AM.
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
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
Mod Proxy (Version française) Iltud Mod Submissions 1 09-20-2003 11:53 AM
Bugfix <!-- phpDigInclude --> (English version) Iltud Bug Tracker 0 09-13-2003 11:53 AM


All times are GMT -8. The time now is 10:49 AM.


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