accept group name starting with a number in wiki, for xnet
authorx2001corpet <x2001corpet@839d8a87-29fc-0310-9880-83ba4fa771e5>
Sun, 18 Jun 2006 09:31:12 +0000 (09:31 +0000)
committerx2001corpet <x2001corpet@839d8a87-29fc-0310-9880-83ba4fa771e5>
Sun, 18 Jun 2006 09:31:12 +0000 (09:31 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@324 839d8a87-29fc-0310-9880-83ba4fa771e5

plugins/pmwiki.config.php

index 11ea9bd..d7d6742 100644 (file)
@@ -7,6 +7,9 @@ $WikiDir         = new PageStore('$FarmD/'.$WorkDir.'/$FullName');
 $PubDirUrl       = $globals->baseurl.'/wiki';
 $InterMapFiles[] = $globals->spoolroot.'plugins/pmwiki.intermap.txt';
 
+# Authorize group name to start with a number (for promo groups)
+$GroupPattern = '[[:upper:]0-9][\\w]*(?:-\\w+)*';
+
 $EnablePathInfo = 1;
 
 $Skin = 'empty';