[pmwiki-users] UrlLogo problem solved (by Hans)

Petko Yotov 5ko at 5ko.fr
Sat Jun 5 11:19:04 CDT 2010


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



More information about the pmwiki-users mailing list