Am 28.10.2008 um 10:21 schrieb Markus Lervik:

Tom Anheyer kirjoitti:
Hello list members,

Can I relocate the agavi cache to a directory outside from the application.
Setting the 'cache_dir' in settings.xml has no effect.


Sure, use AgaviConfig::set('core.cache_dir', '/path/to/your/cache/ dir');
in your application's config.php -file.

The reason for this is that settings.xml is compiled at a time when
- config_handlers.xml
- autoload.xml
have already been parsed and compiled.

That's why you need to set 'core.cache_dir' before calling Agavi::bootstrap().

Hope that helps,

- David

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users

Reply via email to