Using multiple database on same CodeIgniter 2.x application and issue with URI Routing
Thanks Sundar for your advice.We can achieve this just by little hack in core of codeigniter.
- Open system/core/router.php in your text editor.
- Go to Line number 264 .... function _validate_request($segments)
- Replace $segments[0] with $segments[1] OR
Add this code at line 270
$x=$segments;$a=1;for($i=0;$i<(count($segments)-1); $i++){ $segments[$i]=$x[$a]; $a++;}