[pmwiki-users] $FarmD reference problem?

H. Fox haganfox at users.sourceforge.net
Mon Apr 17 12:25:14 CDT 2006


On 4/17/06, Scott Connard <connard at dsg-inc.com> wrote:
> Hi Patrick/list,
>
> I sent this a week ago, but never got a response.
>
> My sidebar doesn't connect to PmWiki/PmWiki (for example) in my
> wikilib.d directory.  I am running 2.1.5 and have a farm set up.  The
> link works fine in my home wiki but not in my other (field) wikis.  I
> am wondering if the lines in pmwiki.php that reference $FarmD need to
> use double quotes instead of single quotes.  I don't think that the
> FarmD variable is getting expanded.
>
> $WikiLibDirs = array(&$WikiDir,new PageStore('$FarmD/wikilib.d/
> {$FullName}'));
> ...
>        if ($dfmt == '$FarmD/wikilib.d/{$FullName}')     #

Yes, you need to use double-quotes.

Hagan




More information about the pmwiki-users mailing list