PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > Bug Tracker

Reply
 
Thread Tools
Old 09-13-2003, 12:51 PM   #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 12:56 PM.
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
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
Mod Proxy (Version française) Iltud Mod Submissions 1 09-20-2003 12:53 PM
Bugfix <!-- phpDigInclude --> (English version) Iltud Bug Tracker 0 09-13-2003 12:53 PM


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


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