Welcome Guest, Not a member yet? Register   Sign In
redirect if method not exists

I`m new in codeigniter world.
My question is how to make if method of class not exists ( for example if user change uri) redirect user to home page for example?

Take a look at the user_guide: Remapping Function Calls

Or do a search in this forum for _remap().

Basically in _remap() you check if a method exists and if not do a redirect.

Theme © iAndrew 2016 - Forum software by © MyBB