我在配置文件中这样配置的。
'URL_ROUTER_ON' => true, //开启路由
'URL_ROUTE_RULES' => array( //定义路由规则
'index/:id' => 'Index/content',
),正常访问是 http://localhost/index.php/Index/content/id/1
在模板中这样调用的
{:U('index/'.$vo['id'])}调用的地址显示出来是:
http://localhost/index.php/index/1
但是在浏览器访问后,报错:无法加载模块:index
请问是哪里出问题了呢