View Single Post
Old 03-13-2004, 06:12 AM   #3
Arnaud
Green Mole
 
Join Date: Mar 2004
Posts: 2
Hi Yapuka

Thanks for your answer. You're right, I tried to show results in French.
But unfortunetly, your tip doesn't seem to work.
I tried $phpdig_language ="en" and $phpdig_language ="fr" (and other languages) but it doesn't change anything.

But you gave me an idea:

I opened libs/phpdig_functions in line 148:

$string = @eregi_replace($ereg,"\\1<^#_>\\2</_#^>\\3",@eregi_replace($ereg,"\\1<^#_>\\2</_#^>\\3",$string));

and I replace with:

$string = @eregi_replace($ereg,"\\1<^#_>\\2</_#^>\\3",@eregi_replace($ereg,"\\1<^#_>\\2</_#^>",$string));

Now the result of the search appeared without \3 at the end of the word, and PhpDig works fine althought this change.
As I don't understand PHP, I don't know if this change is critical, so don't imitate me :p :p
Arnaud is offline   Reply With Quote