PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.
timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still ge
tting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for '-8.0/no D
ST' instead in C:\xampp\htdocs\cake_1_2\cake\libs\cache.php on line 429
只有当我尝试在新的 cakephp 1.2.6 应用程序中使用 bake 时,我才会得到这个。如果我在默认的应用程序文件夹(蛋糕构建附带的文件夹)中运行烘焙,它会执行此操作。如果我从旧的 1.2.5 项目 (cake_1_2/myapp) 运行 bake,它可以正常工作。
CakePHP 1.2.6 项目还有其他人有这个问题吗?
这不是 PHP 问题,因为它会与我尝试过的任何时间函数保持一致。