[pmwiki-users] CSS in Wiki Pages: new stylepage.php
Jon Haupt
jhaupt at gmail.com
Tue Aug 29 12:48:43 CDT 2006
On 8/29/06, Patrick R. Michaud <pmichaud at pobox.com> wrote:
>
> On Tue, Aug 29, 2006 at 11:03:52AM -0500, Jon Haupt wrote:
> > On 8/29/06, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> >
> > On Tue, Aug 29, 2006 at 10:35:13AM -0500, Jon Haupt wrote:
> > > The read password for Site.StyleSheet is set to nopass.
> >
> > The stylepage.php recipe doesn't know how to deal with "nopass",
> > it just knows that there's a read password of some sort on the
> > page so it refuses to cache it.
> >
> In stylepage.php, change line 88 from
>
> if ($stylepage['=passwd']['read']) {
>
> to
>
> if ($stylepage['=passwd']['read']
> && $stylepage['=passwd']['read'] != '@nopass') {
>
> And be sure to use '@nopass' for the read password in
> Site.StylePage instead of 'nopass'.
Sadly, this fix didn't work; same problem. I made sure to use @nopass
instead of nopass. I was, however, able to confirm that this really is the
problem, by changing the page in the working configuration from no password
to @nopass. Perhaps it's having trouble when the Group password is set -
even if the page's password is @nopass?
Jon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20060829/f555f812/attachment.html
More information about the pmwiki-users
mailing list