[dokuwiki] Re: Indexing of modified pages

  • From: Myron Turner <turnermm02@xxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Fri, 20 Jul 2007 15:44:43 -0500

TNHarris wrote:
On Thu, 19 Jul 2007 19:48:01 -0500, "Myron Turner" <turnermm02@xxxxxxx>
said:
A string is needed for cleanText() and file_get_contents() is optimized and recommended for reading a file into a string. I assume this was the reasoning, since file() returns an array.


I hope you didn't misunderstand me. (I made a grammatical typo in me
previous message. Sorry.)

io_readFile returns a string, which is why I thought it would be better
to use file_get_contents instead of join('',file($file)) which it
currently does (line 97).
There's no helping compressed files, of course.
-- tom
telliamed@xxxxxxxxxxx

Right.  I see your point .

--

_____________________
Myron Turner
http://www.room535.org
http://www.bstatzero.org
http://www.mturner.org/XML_PullParser/


--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: