[pmwiki-users] Why $FarmD ?

Patrick R. Michaud pmichaud at pobox.com
Tue Aug 9 07:47:31 CDT 2005


On Tue, Aug 09, 2005 at 06:39:15PM +1000, Algis Kabaila wrote:
> Hi,
> 
> The instructions to implement search for wiki page orphans say that the 
> following line must be added to the local/config.php file:
> 
> include_once("$FarmD/scripts/refcount.php");
> 
> Is $FarmD defined by default?  As the PmWiki which I look after does not have 
> Farm Fields (and Farm), I changed that to 
> 
> include_once("scripts/refcount.php");
> 
> That seems to work.  Would the command that does refer to $FarmD work equally 
> well?

$FarmD is defined by default; even if you're not running a wikifarm
installation, using $FarmD works just fine and it points to the 
(single) PmWiki directory.

Pm




More information about the pmwiki-users mailing list