[pmwiki-users] relativ path 2 farm pub dir

H. Fox haganfox at users.sourceforge.net
Wed Mar 22 18:22:51 CST 2006

On 3/22/06, Neil Herber <nospam at eton.ca> wrote:
> At 2006-03-22  10:29 PM +0100, noskule is rumored to have said:
> >I thougt it would be easyer to but a variable like
> >Attach:{$SkinDir}/edit.gif. So there would be no effort to install a
> >field in a farm.
> I was hoping that some variation of:
> {$FarmPubDirUrl}/edit.gif

Enable it with this in farmconfig.php:

    $FmtPV['$FarmPubDirUrl'] = "'$FarmPubDirUrl'";

> would work, but it doesn't seem to. Too bad.

For  {$SkinDirUrl} use this in skin.php:

    $FmtPV['$SkinDirUrl'] = "'$SkinDirUrl'";


More information about the pmwiki-users mailing list