Hi,
as CakePHP is able to detect the language of the visitor on the
website, i would like to use the cache and put the language in front
of the cache filename like this :

tmp/cache/views/fre_articles_index.php

actually i have

tmp/cache/views/_articles_index.php

What happens actuallay  ?

when an english guy comes the first on the index of the articles
plugin ; he generates the cache for a given time.
during this time if a french guy comes ; he reads an english content.

This is why i would like to use Configure::read('Config.language') at
the right place .
I thought i 've found it in libs/cache.php ( function write ) by using
the prefix parameter of the config cache in the core.php file but that
does not do the trick.

So can someone give me a tips to be able to fix this issue ?
Or do i have to open a ticket on trac.cakephp.org ?

Kind Regards?


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to