Welcome Guest, Not a member yet? Register   Sign In
redirect('/') ?
#1

[eluser]bill19[/eluser]
Hi ,

I am trying to work my way through a piece of code which uses the URL helper. It includes the following:

Code:
function index() {
        redirect('/');
    }

what does redirect('/'); mean? I can't find this in http://ellislab.com/codeigniter/user-gui...elper.html. When I try it my program goes into a permanent loop.

perhaps I need to set another configurable item.

I would appreciate any help.

Thank you,

Bill
#2

[eluser]InsiteFX[/eluser]
It redirects to your home page, your website start page!




Theme © iAndrew 2016 - Forum software by © MyBB