Quantcast
Channel: CodeIgniter Forums - All Forums
Viewing all articles
Browse latest Browse all 14348

CI 2.x->3.x Redirect?

$
0
0
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:

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?

Viewing all articles
Browse latest Browse all 14348

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>