Welcome Guest, Not a member yet? Register   Sign In
Accessing controller and function name from hook
#3

[eluser]Phil Sturgeon[/eluser]
Code:
if( !$resource = $this->CI->uri->segment(1, '') )
{
    $this->CI->load->helper('url');
    redirect('default_resource');
}


Messages In This Thread
Accessing controller and function name from hook - by El Forum - 12-01-2008, 05:56 AM
Accessing controller and function name from hook - by El Forum - 12-01-2008, 10:06 AM
Accessing controller and function name from hook - by El Forum - 12-01-2008, 10:07 AM
Accessing controller and function name from hook - by El Forum - 12-01-2008, 10:10 AM



Theme © iAndrew 2016 - Forum software by © MyBB