Welcome Guest, Not a member yet? Register   Sign In
Not returning uri segments
#6

[eluser]InsiteFX[/eluser]
Yes welcome is the controller name.

Just place the route at the very bottom!
Code:
$route['(.*)'] = 'activate/index/$1';

Thats all you need, you do not need any of the routes you showed!

_remap - Place at the bottom of your contoller.
Code:
// --------------------------------------------------------------------

/**
* _remap()
*
* Remaps the URL segments.
*
* @access private
* @param string
* @param array
* @return mixed
*/
public function _remap($method, $params = array())
{
    if (method_exists($this, $method))
    {
        return call_user_func_array(array($this, $method), $params);
    }

    show_404();
}

Also see this:
CodeIgniter User Guide - Input Class -- $this->input->is_ajax_request()


Messages In This Thread
Not returning uri segments - by El Forum - 02-12-2012, 12:30 PM
Not returning uri segments - by El Forum - 02-12-2012, 01:14 PM
Not returning uri segments - by El Forum - 02-12-2012, 01:40 PM
Not returning uri segments - by El Forum - 02-12-2012, 01:41 PM
Not returning uri segments - by El Forum - 02-12-2012, 01:43 PM
Not returning uri segments - by El Forum - 02-12-2012, 01:59 PM



Theme © iAndrew 2016 - Forum software by © MyBB