[pmwiki-users] AuthUser - logout asks for user name and password?!

H. Fox haganfox at users.sourceforge.net
Thu Sep 8 23:09:37 CDT 2005


Rob,

Something I noticed...

Try this search for " ":

http://www.robfisher.info/Wolf/pmwiki.php/Site/Search?q=+

then logout and add this to your config.php.

$page = RetrieveAuthPage($pagename, 'read', false, READPAGE_CURRENT);
if ($page['=auth']['edit']) {
    $SearchPatterns['default'][] = '!\\.(All)?Recent(Changes|Uploads)$!';
    $SearchPatterns['default'][] = '!\\.Group(Print)?Header$!';
    $SearchPatterns['default'][] = '!\\.(GroupAttributes|WikiSandbox)$!';
    $SearchPatterns['default'][] = '!^(Test|Site|PmWiki)\\.!';
}

Then try the search for " " again.

The goal: If you're logged in, your search includes PmWiki-related
content.  If you're not, only your site's content is searched.

Hagan




More information about the pmwiki-users mailing list