From: x2001corpet Date: Sun, 18 Jun 2006 09:31:12 +0000 (+0000) Subject: accept group name starting with a number in wiki, for xnet X-Git-Tag: xorg/0.9.10~45 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=915d4faeb4977c783fc601241a9bd96f47b87f8d;p=platal.git accept group name starting with a number in wiki, for xnet git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@324 839d8a87-29fc-0310-9880-83ba4fa771e5 --- diff --git a/plugins/pmwiki.config.php b/plugins/pmwiki.config.php index 11ea9bd..d7d6742 100644 --- a/plugins/pmwiki.config.php +++ b/plugins/pmwiki.config.php @@ -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';