我php项目用的TP5.0框架 路径有问题 。
所有路径的url都是从localhost开始的并且忽略了项目文件夹 比如
localhost/index.php/index/index。
期望改成
localhost/项目名称/index.php。(localhost/test/index.php/index/index.)
应该改什么配置文件还是改.htacess文件?
现在包括ajax的路径:
url:"/index.php?m=Mobile&c=goods&a=ajaxComment 这么写都直接localhost/indp 少了项目文件夹的名称test```