[pmwiki-devel] php logic question
design5 at softflow.co.uk
Tue Mar 13 16:05:39 CDT 2007
Tuesday, March 13, 2007, 8:59:20 PM, christian wrote:
> I'm no php expert, but '!' should have higher precedence than '||' (OR),
> so just use
> if (!$page || !$permit)
> Um... what exactly is '$page'?
$page is THE page, from
$page = RetrieveAuthPage($targetname, $FoxAuth, true);
if no authorisation is given the var is empty, if authorised
$page is created as an array, and !$page is false.
More information about the pmwiki-devel