Kohana URL包括重定向和分页索引

dav*_*vid 5 kohana kohana-3

当我使用重定向
Request :: instance() - > redirect('something')时,我有一个KO3核心插入index.php到我的URL的问题; 或$ paginationStuffHere-> render().

任的这些结果是http://www.something.com/ 的index.php /某事

当我使用重定向的完整URL而不是诸如Request :: instance() - > redirect('http://www.something.com/something')之类的亲戚时,这不是问题; 但是我找不到分页函数真的有办法做到这一点,所以我真的需要找到它添加这个index.php的位置

当我使用View :: factory('something/something') - > render()时,不会发生这种情况.这是我唯一能找到有类似问题的人

基本URL在bootstrap.php中设置为"/"

我的.htaccess看起来像这样

RewriteEngine On
RewriteBase /
RewriteRule ^(application|modules|system) -[F,L]
RewriteCond %(REQUEST_FILENAME) !-f
RewriteCond %(REQUEST_FILENAME) !-d

RewriteRule .* index.php/$0 [PT,L]
Run Code Online (Sandbox Code Playgroud)

在此先感谢您的任何建议.

Kem*_*emo 16

在bootstrap.php中找到Kohana :: init()并在该数组中将index_file设置为FALSE