mouth,

I had some inspiration, it requires a slight hack.

In cake/config/paths there is:
define('CACHE', TMP.'cache'.DS);

If instead you changed it to be

$Language = .. get from session, if default return NULL;
if ($Langauge) {
define('CACHE', TMP.'cache'.DS.$Language.DS);
} else {
define('CACHE', TMP.'cache'.DS);
}

Then your page requests will be taken from the correct cache folder -
how's that?

AD7six


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to