Hi Mouth, mouth wrote: > - I don't think You can access session variables in > cake/config/paths.php
Sure you can, it´ll be in the variable $_SESSION. > - CACHE constant is used not for view-cahing only and I'm definitely > not going create subfolders 'models' and 'persistent' for every > language (and change all of my elements etc which uses function cache() > already) It would introduce a couple of additional complexities - but the duplication of your sql query cache is likely to be less of a problem than rendering a file in the wrong language ;) To get around the sql cache you would probably need to override in your app_model _clearCache method such that it clears all version of the cache when something gets deleted or updated. You would only need to copy the folder structure once for each none default language. The method cache saves relative to the constant CACHE so you wouldn´t need to make any code changes. Anyway, if you want to use cache with urls that don´t indicate the language, and in the absence of another opinion/solution I´m out of ideas ;) Cheers, 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 -~----------~----~----~----~------~----~------~--~---
