On Saturday 05 June 2010 13:10:33, Hans wrote :
> Saturday, June 5, 2010, 8:54:21 AM, Petko Yotov wrote:
> > Yes, see $WhiteUrlPatterns at this page :
> >   http://www.pmwiki.org/wiki/PmWiki/UrlApprovals
> 
> This confuses me:

> Is $WhiteUrlPatterns an array or not?

It can be both -- if it is not an array but a string, it will be converted to 
an array with a single element.

> In any case neither way worked here ('http://localhost/'),

Both work for me :
  
  $WhiteUrlPatterns   = 'http://localhost';  ### -OR-
  $WhiteUrlPatterns[] = 'http://localhost';

Petko

_______________________________________________
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to