[pmwiki-users] Richedit . . .

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


On Thu, Sep 15, 2005 at 09:15:43AM -0500, Ben Wilson wrote:
> I'm trying out this little tool. Problem is there is too many hard-coded 
> references to files that I am having to edit out.
> 
> Instead of "include_once('cookbook/richedit/. . .');"
> 
> Try "include_once('richedit/ . . .');" Throughout.

Better might be to put the directory in a variable, as in:

   SDV($RichEditDir, 'richedit');
   include_once("$RichEditDir/...");

Then it becomes trivial for an admin to set the correct location
of the richedit/ directory.

Pm




More information about the pmwiki-users mailing list