2009年12月8日星期二

[fw-mvc] Configure "cache_dir" path globally

Hi,

When I'm using Zend_Cache::factory(), I define a "cache_dir" and
everything works fine.

Locale/Data.php does not allow (in any way) to define a "cache_dir".
Thus, the getTmpDir() method invoked in order to find a temp dir. I
could use ini_set or set an environment var in order to specify a temp
dir, but I don't wont to do that. Is there a way to define a
"cache_dir" globally?

Ralf

没有评论: