[pmwiki-users] UrlLogo problem solved (by Hans)
Simon
nzskiwi at gmail.com
Sat Jun 5 17:49:29 CDT 2010
Does this mean I need to say
$WhiteUrlPatterns[nz] = 'http://[^/] \\.nz'; ### -AND-
$WhiteUrlPatterns[au] = 'http://[^/] \\.au';
Simon
On 6 June 2010 04:19, Petko Yotov <5ko at 5ko.fr> wrote:
> 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 at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
--
____
http://kiwiwiki.co.nz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20100606/8c3a5c41/attachment.html>
More information about the pmwiki-users
mailing list