[pmwiki-devel] php logic question
christian.ridderstrom at gmail.com
christian.ridderstrom at gmail.com
Wed Mar 14 02:58:44 CDT 2007
On Tue, 13 Mar 2007, Hans wrote:
>> 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.
Ok. I was wondering if $page was a string, in which case I'm not sure if
something like
!""
if true or false.
/Christian
--
Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr
More information about the pmwiki-devel
mailing list