Saturday, May 19, 2007, 7:36:30 AM, Patrick R. Michaud wrote: > In fact, it doesn't have to be local/config.php, one can have multiple > specialized per-wiki configuration files. For example, the settings for > $DefaultPage could be put in a "local/config-early.php" file for each > wiki:
> <?php > $FarmPubDirUrl = 'http://wiki.hindu.org/pmwiki/pub'; > ## global passwords here snipped ### > $EnablePageListProtect = 0; > include_once('local/config-early.php'); ### <----- load wiki's early > customizations > include_once("$FarmD/cookbook/cluster.php"); > ... Or if this feels too confusing, one could create a farmconfig-late.php file which holds all the include_once lines to load cookbook scripts common to all wikis, and then add to the bottom or after the initial customisations in the wiki's config.php: include_once("$FarmD/local/farmconfig-late.php"); ~Hans _______________________________________________ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users