U方法生成路径为什么会包含两个index.php?
模板文件
<form class="form-horizontal" action="http://localhost/index.php/User/Public/login" role="form" method="post">或者
<form class="form-horizontal" action="{:U('login','','')}" role="form" method="post">生成的html语句,地址都变为
http://localhost/index.php/index.php/User/Public/login很奇怪,为什么会有2个index.php