I'm upgrading from CI 2.x to CI 3.x. I have this line in my default controller for users who aren't logged in:
This used to redirect to:
http://localhost/index.php/auth/login/
...but now is redirecting to:
http://localhost/localhost/index.php/auth/login/
Where's the right place for me to begin looking for the way to correct this?
PHP Code:
redirect('/auth/login/');
This used to redirect to:
http://localhost/index.php/auth/login/
...but now is redirecting to:
http://localhost/localhost/index.php/auth/login/
Where's the right place for me to begin looking for the way to correct this?