Hello,
i would like to avoid to change something inside cakephp .
i tried in the core.php file :
Cache::config('default', array('engine' => 'File','path'=>
dirname(__FILE__)
.DS.'..'.DS.'tmp'.DS.'cache'.Configure::read('Config.language')));
but unfortunatly, Config.language is not set yet at this moment.
in app_controller.php in beforeRender Config.language is available
but i dont know if it's the right place to modify the
Cache::config('default'.....)
So, I really dont understand how a so simple thing cant work
Anyone get an idea ?
On 16 mai, 09:42, Filip Camerman <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I've had the exact same problem: the cache prefix that you can specify
> in the core config is not used for cached views - which is a major bug
> imo. I solved it by hacking the core in the places where it reads/
> writes cached views, since I absolutely needed this functionality.
> I've described how to do it in the second message of this
> thread:http://groups.google.com/group/cake-php/browse_thread/thread/62b4d61b...
>
> hth
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---