为什么cakephp项目不运行是服务器?(Why cakephp project is is not running is server?)
我使用cakephp开发了一个应用程序.Project在我的本地服务器上成功运行并测试了实时服务器。但它没有在我的真实域名中运行,名为http://www.tileclock.com 。我尝试了一切,一切都很好。我有不明白是什么问题。任何想法我该怎么办?
I have developed an application using cakephp.Project is running successfully on my local server and test live server.But Its not running in my real domain named http://www.tileclock.com.I tried everything,all is good.I have no idea whats the problem.Any idea what should I do?
最满意答案
在app / config / core.php文件中,只需删除该行的注释即可
`Configure::write('App.baseUrl', env('SCRIPT_NAME'));`我想你会通过上述指示找到解决方案。
In app/config/core.php file just remove comment from the line
`Configure::write('App.baseUrl', env('SCRIPT_NAME'));`I think you will find solution by above instruction.
更多推荐
发布评论