Welcome Guest, Not a member yet? Register   Sign In
Im just confused how to build this URL (easy question for you guys, I think)
#7

[eluser]pickupman[/eluser]
I supposed if you wanted to worry about it, something like this would take care of it.
Code:
function administration($func="admin")
{
if( $func == "user_management" )
{
    if( ! is_null($this->uri->segment(4))) show_404(); //if 4th segment is not NULL show 404 error

    $this->user_management(); // call the user management method in this controller
    return; // leave, done with user_management function
}
// put the default administation stuff here
}


Messages In This Thread
Im just confused how to build this URL (easy question for you guys, I think) - by El Forum - 07-27-2012, 08:05 AM



Theme © iAndrew 2016 - Forum software by © MyBB