[dev] Unused preferences?

Anil Madhavapeddy anil@recoil.org
Mon, 10 Sep 2001 22:14:20 +0100


On Mon, Sep 10, 2001 at 01:54:27PM -0600, Michael M Slusarz wrote:
> 
> * In horde/lib/Horde.php -- getTempDir()

getTempDir() isn't used for the Horde Cache stuff, since it
shouldn't really go in the system temp directory (which
is meant for transient-data), but should instead have a persistent
directory to stick its goods into.

> -----
> $conf['cache']['driver'] = 'file';
> 
> // Any parameters that the caching driver needs.
> $conf['cache']['params'] = array();
> $conf['cache']['params']['dir'] = '/httpd/tmp';
> -----
> 

Does /httpd/tmp actually exist?  Is it a directory?

Chora will not create this directory for you if it doesnt
exist, but will instead fall-back to the system temp
directory.

Anil