我是codeigniter的新手 . 我最近开始研究一个用codeigniter开发的项目 .
我已下载该项目并在本地进行处理,然后将更新上传到实时 .
问题是当我在本地运行它以检查例如http://localhost/example/index.php/home或http://localhost/example/它直接转到实时网站www.example.com/index.php/home instaed of http://localhost/example,我也更改了application / config / config.php中的base_url .
请帮助我
1 回答
将此保存在 .htaccess 中