On 1/27/2010 7:39 AM, Graham Archer wrote:
>
> Hi,
>
> I am trying to setup a pagelist cache as per below but it doesn't appear
> to work.
>
>     $PageListCacheDir
>     The name of a writable directory where PmWiki can cache results of
>     (:pagelist:) directives to speed up subsequent displays of the same
>     list. Default is empty, which disables the pagelist cache.
>
>     # Enable pagelist caching in work.d/
>     $PageListCacheDir = 'work.d/';
>
>
>
> I have:
>
> $PageListCacheDir = 'work.d/';
If you're using relative paths, then the path will be from the config 
file. Try something like this:
$WorkDir = dirname(__FILE__).'/../work.d';
$PageListCacheDir = $WorkDir .'/';


  ~ ~ David

_______________________________________________
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to