benedmunds/CodeIgniter-Ion-Auth — pull request #298 by salgua (2012-08-31 10:57:28+00:00)
Title: use redirect("/", 'refresh') instead redirect($this->config->item('base_...

...url'), 'refresh');

The correct way to redirect to the home page is
redirect('/', 'refresh')

using
redirect($this->config->item('base_url'), 'refresh')
works only if your base url is "". If your base_url is "example", you will be
redirect to http://www.yoursite.com/example/example producing an error

you need to replace all redirect($this->config->item('base_url'), 'refresh')
with redirect('/', 'refresh')