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

[eluser]InsiteFX[/eluser]
By default the controller index method will not accept parameters.

Code:
// ------------------------------------------------------------------------

/**
* DO NOT! REMOVE THIS LINE
* This is for the index _remap. It must be the very last route in the file!
* ------------------------------------------------------------------------
*/
$route['(.*)'] = 'welcome/index/$1';

// ---------------- -== DO NOT REMOVE! the above line ==- -----------------

CodeIgniter User Guide - Controllers See the Section Remapping Function Calls


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