[pmwiki-users] Variable $GroupPattern

shout at joshleepictures.com shout at joshleepictures.com
Tue Nov 20 02:49:51 CST 2012


also make sure, that you don’t have $GroupPattern redefined to another value in local/config.php.


On Nov/19, 2012, at 2319 , Petko Yotov wrote:

> olivier at vvma.net writes:
>> Is there a reason why $GroupPattern=<something> would work if written
>> in local/config.php but would not when written in farmconfig.php ?
> 
> No.
> 
> Is the file farmconfig.php in a "local" directory in the same directory where pmwiki.php is?
> 
> Both "pmwiki.php" and "local" should be in the same directory, and "farmconfig.php" is inside "local". The farm fields should each have an "index.php" file which includes pmwiki.php.
> 
> 
>> I wanted to allow groups to begin with a digit, followed
>> the doc saying:
>> 
>>  $GroupPattern = '[[:upper:]\\d][\\w]*(?:-\\w+)*';
> 
> This should work, just double-check for some typo, eg. $Grouppattern with a lowercase "p" wouldn't work.
> 
> 
> 
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users




More information about the pmwiki-users mailing list