On 3/2/2010 4:19 AM, Peter Bowers wrote: > On Tue, Mar 2, 2010 at 9:11 AM, Peter Bowers<pbow...@pobox.com> wrote: >> >> I *believe* (completely untested) that this change would allow a global >> $EnableAuthCache which could be turned off during config.php as needed... >> > > I forgot at least one other change -- the call to PCache() further > down in the same function would need to be surrounded with ... > > if ($EnableAuthCache) > PCache(...); I tested Peters code using the original conditions, and it seems like a good fix for cases where you need to temporarily disable the $acache, and then re-enable it.
I'll create a PITS entry for a 'disable cache' mechanism and include this code snippet. Thanks Peter. ~ ~ Dave _______________________________________________ pmwiki-devel mailing list pmwiki-devel@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-devel