01003: Recipe, farm mode and local config.php

Summary: Recipe, farm mode and local config.php
Created: 2008-01-21 08:20
Status: Open
Category: Bug
Assigned:
Priority: 4
Version: 2.2.0-65
OS: 5

Description: In farm mode, most of the recipes are loaded in the file

farmconfig.php

so, each installation can acces to various recipes installed by the admin.

The problem is that some recipe use the "wiki.d" directory (see multilanguage.php for example) but this variable is fixed in the config.php of each wiki.

I suggest that each recipe is "loaded" with a function:

recipe("$FarmD/cookbook/multilanguage.php");
recipe("$FarmD/cookbook/authuser.php");
...

then pmwiki.php parses the config.php file and after loads the recipes so each installation can activate/desactivate/configure the recipes

regards,

   JA.