mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Merge pull request #2494 from bcrowe/hotfix-configTimezone
Add Configure timezone to bootstrap
This commit is contained in:
commit
81d14e4f1a
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue