Hi

I'd like to change the path of cache files (actually view cache files) temporarily with Cache::set.

However, nothing seems to change, and by debugging my invocation of Cache::set in the app_controller, e.g.,

Cache::set(array('path' => CACHE.'my path'.DS));

I see that the debugger's method handleError is called, with this description:

"Non-static method Cache::set() should not be called statically, assuming $this from incompatible context"

what am I doing wrong?

Is it then possible to temporarily change the cache path? As I said, I needed for views.

thanks in advance
        Lorenzo

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
BLOGS: http://tronprog.blogspot.com  http://longlivemusic.blogspot.com


--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to