Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
该项目是使用 cakephp-2.0.2 开发的。
现在我要把它升级到 cakephp-2.0.3。
最简单和最安全的方法是什么?
您可以:
在 2.0.2 安装中删除 /cake 并将其替换为 2.0.3 的 /cake 目录
或(最好):
将 cake 2.0.3 安装到新位置
将 2.0.2 /app 复制到新安装。如果您在 /plugins 或 /vendors 中有任何自定义文件,它们也需要移动。
(不要忘记清空 /app/tmp/cache 中的缓存目录 - 保持目录不变,只需删除其中的所有文件)。
有什么大不了的?只需更换两个核心文件夹。运行所有测试并在必要时进行更正。