[pmwiki-users] wikifarm question: autoconfigure a new wiki
Patrick R. Michaud
pmichaud at pobox.com
Thu Aug 24 22:46:44 CDT 2006
On Thu, Aug 24, 2006 at 10:01:50PM -0500, Ben Wilson wrote:
> On 8/24/06, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> >On Fri, Aug 25, 2006 at 11:27:57AM +1200, John Rankin wrote:
> >> Is it possible to change the use of 'local' when loading
> >> config.php and pgcust's Group.php and Group.Page.php files,
> >> to use a variable such as $localDir? $localDir would default
> >> to 'local'.
> >Sure, we can do this.
> >However, I'd like to point out that it's perfectly possible
> >to achieve what you want within the existing codebase without
> >*too* much work (although yes, it's not *quite* as simple
> >as setting a $localDir variable :-).
> That leads me to a slight variation. Let's say I want to use one
> directory for local, but I want different configuration files based
> on, say, field. For example:
> Both fields go to a "local" directory outside the web-accessible path:
> At first blush, I would assume this would work using the basic code
> you fleshed out above. Maybe the code above does this, but I'm just
> not seeing it.
Do you want per-page and per-group configuration files within
the fields, and if so, where do you want them to go?
More information about the pmwiki-users