Merge pull request #2494 from bcrowe/hotfix-configTimezone

Add Configure timezone to bootstrap
This commit is contained in:
Mark Story 2013-12-16 19:01:37 -08:00
commit 81d14e4f1a

View file

@ -269,6 +269,14 @@
*/ */
//date_default_timezone_set('UTC'); //date_default_timezone_set('UTC');
/**
* `Config.timezone` is available in which you can set users' timezone string.
* If a method of CakeTime class is called with $timezone parameter as null and `Config.timezone` is set,
* then the value of `Config.timezone` will be used. This feature allows you to set users' timezone just
* once instead of passing it each time in function calls.
*/
//Configure::write('Config.timezone', 'Europe/Paris')
/** /**
* *
* Cache Engine Configuration * Cache Engine Configuration