开发者

setting base path in cakephp

开发者 https://www.devze.com 2023-01-01 12:47 出处:网络
I am working on CakePHP, and I have my app working in my localhost. If I try to run my app in another machine, I nee开发者_StackOverflow社区d to to set the base path.

I am working on CakePHP, and I have my app working in my localhost. If I try to run my app in another machine, I nee开发者_StackOverflow社区d to to set the base path.

How to do this? Any suggestions?


You only need to set the path to the cake directory. You can do so in

/path/to/your/app/webroot/index.php

by setting the CAKE_CORE_INCLUDE_PATH

0

精彩评论

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