[dokuwiki] Re: indexer not finding cleanID()?

  • From: "Joe Lapp" <joe.lapp@xxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Sat, 15 Oct 2005 15:48:48 -0500 (CDT)

>From: Harry Fuecks <hfuecks@xxxxxxxxx>
> My fault. Should have checked more carefully. Had been hoping to
> eliminate requiring a whole bunch of code before it's decided whether
> the indexer should run.

Thanks for confirming that I'm not 100% cuckoo.

> Have attached a patch that moves that require above the call to
> cleanID - not the most efficient solution though.

You could just do a require_once for pageutils.php before your first call to 
cleanID().  That would load less code, anyway.  I don't know what prerequisites 
pageutils.php has, though.

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

Other related posts: