用户
 找回密码
 入住 CI 中国社区
搜索
查看: 1213|回复: 2
收起左侧

[已解决] base_url不生效

[复制链接]
发表于 2016-11-24 22:01:44 | 显示全部楼层 |阅读模式
$config['base_url'] = 'localhost';
然后在controlls里面写了Blog.php
浏览器访问
http://localhost/index.php/blog/
提示404.

why?
发表于 2016-11-25 18:00:27 | 显示全部楼层
base_url 要写全URL,例如 http://localhost/
发表于 2017-3-3 16:36:28 | 显示全部楼层
还有要加载help

本版积分规则