Welcome Guest, Not a member yet? Register   Sign In
[FIXED] base url getting '?' appended in 2.0 reactor
#1

[eluser]matt2012[/eluser]
For example in a form view I have action="/login"

when I open the page in a browser and look at the source I get my.domain.com/?login which is redirecting to home page.
#2

[eluser]matt2012[/eluser]
This problem was due to me using the config code from my 1.7.2 site which had
Code:
$config['enable_query_strings'] = TRUE;

in 2.0 to prevent this behaviour we should have
Code:
$config['enable_query_strings'] = FALSE;
we can use this instead
Code:
$config['allow_get_array']        = TRUE;


There is no mention of this in

http://ellislab.com/codeigniter/user-gui...e_200.html




Theme © iAndrew 2016 - Forum software by © MyBB