I'm having difficulty with running my application in different
timezones.
Tried using putenv("TZ=".$tz); where $tz is the time zone previously
registered on a database. Put this code in the bootstrap.The strange thing was this works only in one controller (UsersController - which is the entry point to my application). In other controllers, the timezone revert back to the server's timezone. Tried putting that code in the App_controller to execute in the beforeRender(). But again it didn't work. Just want to avoid having to execute this putenv() in every controller everytime, if possible. Anyone successfully implemented a multi-timezone application, would be grateful if you can give some pointers regarding this problem. Thanks --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
