On Thu, Apr 12, 2007 at 02:56:40PM +0100, Christian wrote:
> >Perhaps:
> > $Condition['browser'] =
> > 'strpos($_SERVER['HTTP_USER_AGENT'], $condparm) !== false';
>
> i cant seem to get that to work, i am correct in putting the condition
> into my config.php?
My apologies, I messed up. The correct code is
$Conditions['browser'] =
'strpos($_SERVER["HTTP_USER_AGENT"], $condparm) !== false';
(I forgot the "s" in "Conditions", and need double-quotes instead of
single-quotes around "HTTP_USER_AGENT".)
Pm
_______________________________________________
pmwiki-users mailing list
[EMAIL PROTECTED]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users