[pmwiki-users] Showing search results from read protected pages...

Patrick R. Michaud pmichaud at pobox.com
Mon Aug 21 21:42:44 CDT 2006


On Mon, Aug 21, 2006 at 07:36:05PM -0400, The Editor wrote:
> Hi all,
> 
> I seem to remember reading somewhere PmWiki documentation on an option
> for whether or not to return search results for pages a user cannot
> view.  But after much looking can't seem to find that information when
> you need it.  Does anyone know where it is?

    $EnablePageListProtect = 1;   # don't display read-protected pages in a pagelist

    $EnablePageListProtect = 0;   # display read-protected pages in a pagelist

Of course, if you enter the administrative password at some point in a session,
then you can see everything.  :-)

Pm




More information about the pmwiki-users mailing list