Welcome Guest, Not a member yet? Register   Sign In
[split] Routing Question
#2

Hello,
Have you tried to use _remap function?
Just check the first segment of the url then you can make a condition where you want to pass them.

public function _remap(){
$segment_1 = $this->uri->segment(1);
$segment_2 = $this->uri->segment(2);

switch ($segment_1) {
case 'lorem':
//condition here..
break;
}
}

hope it help Smile
Reply


Messages In This Thread
[split] Routing Question - by rahendz - 06-02-2015, 03:36 AM
RE: [split] Routing Question - by dbsolde - 06-02-2015, 11:07 PM



Theme © iAndrew 2016 - Forum software by © MyBB