[pmwiki-users] UrlLogo problem solved (by Hans)
Hans
design5 at softflow.co.uk
Sat Jun 5 06:10:33 CDT 2010
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:
There are these examples on the page:
$WhiteUrlPatterns =
"http://example.com/|http://example.net/|http://example.org/";
and
$WhiteUrlPatterns[] = 'http://[^/] \\.nz';
$WhiteUrlPatterns[] = 'http://[^/] \\.au';
Is $WhiteUrlPatterns an array or not?
In any case neither way worked here ('http://localhost/'),
neither for
include_once("$FarmD/scripts/urlapprove.php");
nor for
include_once("$FarmD/cookbook/bloge.php");
(which loads urlapprove.php).
~Hans
More information about the pmwiki-users
mailing list