[pmwiki-users] More on Richedit . . .

Patrick R. Michaud pmichaud at pobox.com
Thu Sep 15 09:40:15 CDT 2005


On Thu, Sep 15, 2005 at 09:37:51AM -0500, Ben Wilson wrote:
> >>Where you have include_once('scripts/. . .');, please make it 
> >>include_once("$FarmD/scripts/. . .");
> >
> >I disagree with this -- there are some farm installations where
> >the richedit package might be installed in a field but not in
> >the farm as a whole.  
> >
> >Still best is to have a script that detects where it's located and
> >builds paths relative to that.
> 
> But, the include is looking for 'scripts/wikistyle.php' in the $FarmD path.

Woops, you're right -- I was totally thinking of something else from
a very long time ago.  Sorry about that.

You're correct, to get to things in scripts/ directory it's best to 
always use "$FarmD/scripts" in recipes.

Pm




More information about the pmwiki-users mailing list