[pmwiki-users] global variables
Patrick R. Michaud
pmichaud at pobox.com
Thu Mar 9 11:27:46 CST 2006
On Thu, Mar 09, 2006 at 06:08:30PM +0100, Marco Ferretti wrote:
> I want mystuff.php to be able to open 'foo' based on the field.
> Based on what you say, provided i included mystuff.php in config.php , theese
> $location = "./foo";
> will open /pmwiki/fields/field1/foo or /pmwiki/fields/field2/foo depending on
> the field the user is in ?
Yes, that's correct. "./foo" always means "foo subdir in the
current field", just as "./wiki.d" always refers to the
current field's pages.
More information about the pmwiki-users