[pmwiki-users] IE ccs compatability
Patrick R. Michaud
pmichaud at pobox.com
Thu Apr 12 09:01:40 CDT 2007
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
More information about the pmwiki-users
mailing list