[dokuwiki] Re: feed problems - Possible Solution
- From: Chris Smith <chris@xxxxxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Thu, 10 Nov 2005 11:57:08 +0000
Thomas Baumann wrote:
I changed the parser/xhtml.php to:
<code>
...
define('MAGPIE_CACHE_DIR', DOKU_INC.'data/cache/');
...
</code>
Hi,
I'm not entirely sure if you meant your comment as a general change or
not. If it is intended as general, then since the cache folder is a
configurable value (normally derived from $conf['savedir']), strictly
its incorrect to define it using DOKU_INC. More properly it should be
define('MAGPIE_CACHE_DIR', $conf['cachedir']);
Which would take into account different user configurations.
Cheers,
Chris
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
Other related posts: