我设置了Url::root('/index.php?'.config("var_pathinfo").'='),以便生成:
http://localhost/vplay/index.php?s=/index/index/index/203.html
这样的地址
但是用url('index/index','id=100')实际生成的地址则是:
http://localhost/index.php?s=/index/index/index/203.html
没有了/vplay/,这要怎么设置才能自动获取/vplay/这个参数?
谢谢
最佳答案