routes bug ? |
[eluser]EugeneS[/eluser]
in routes.php i have: Code: $route['contacts'] = 'welcome/index/2'; then i go to the url like: http://localhost/contacts yes i'm in the class "welcome" method "index" but when i'm trying to access url segments it doesnt work: Code: echo $page_id = $this->uri->segment(1, 1); i was thinking it should be Code: echo $page_id = $this->uri->segment(1, 1); my expectations are wrong or its bug ? |
Messages In This Thread |
routes bug ? - by El Forum - 03-23-2008, 05:59 PM
routes bug ? - by El Forum - 03-23-2008, 06:14 PM
routes bug ? - by El Forum - 03-23-2008, 06:18 PM
|