开发者

How do I change the environment in CakePHP?

开发者 https://www.devze.com 2022-12-26 03:54 出处:网络
I just started using CakePHP for a small project. I have rails experience, and I can see Cake and Rails are really similar, but I can\'t seem to find where to change the environment in which you are w

I just started using CakePHP for a small project. I have rails experience, and I can see Cake and Rails are really similar, but I can't seem to find where to change the environment in which you are working.开发者_运维百科 How can I do so? I'm currently working with test because I want to see all those debugging messages, but I want to see how the final design looks and I need to get rid of those messages. How can I change the environment to production?


You can change the debug level in app/core/config.php, and set it to 0 (production mode).

0

精彩评论

暂无评论...
验证码 换一张
取 消