CodeIgniter reactor with 2 slashes(/) at url! |
[eluser]William Rufino[/eluser]
Hi guys, I downloaded the codeigniter reactor and now my urls all have 2 slashes before the method, anyone knows why? example: site_url('admin') = localhost/myapp//admin it is llike that localhost/myapp//admin
[eluser]Cristian Gilè[/eluser]
Check the .htaccess file and the $config['index_page'] setting. Cristian Gilè
[eluser]William Rufino[/eluser]
My index_page is empty, and the .htaccess is correct, but anyways the htaccess doesnt have anything to do with the url helper and PS: my old version was the 2.0 tip
[eluser]Cristian Gilè[/eluser]
I thought that there was something wrong with your .htaccess rules. I'm investigating and I have discovered that slash_item function in the core/config.php has changed. I'm not sure but it could be the reason for your error. Cristian Gilè
[eluser]Cristian Gilè[/eluser]
It seems that the if statement at line 201 in the core/Config.php is skipped and the function returns a / also when index_page setting is blank. Cristian Gilè
[eluser]Cristian Gilè[/eluser]
I have reported the bug: https://bitbucket.org/ellislab/codeignit...item-buggy Cristian Gilè
|
Welcome Guest, Not a member yet? Register Sign In |