Welcome Guest, Not a member yet? Register   Sign In
Router
#2

disclaimer - i'm just writing this out and did not test this so i could be wrong -
but i think you could just give page id a default value

PHP Code:
$route['default_controller'] = 'pages/show'


PHP Code:
public function show($page_id 'ukr' ){ 
Reply


Messages In This Thread
Router - by Ljubin - 09-21-2016, 10:09 AM
RE: Router - by cartalot - 09-21-2016, 11:15 AM
RE: Router - by Ljubin - 09-21-2016, 01:31 PM
RE: Router - by InsiteFX - 09-21-2016, 11:40 AM
RE: Router - by Ljubin - 09-21-2016, 01:44 PM
RE: Router - by cartalot - 09-21-2016, 02:35 PM
RE: Router - by wolfgang1983 - 09-21-2016, 05:40 PM
RE: Router - by Ljubin - 09-23-2016, 01:35 PM
RE: Router - by wolfgang1983 - 09-23-2016, 04:26 PM
RE: Router - by Ljubin - 09-24-2016, 02:27 AM
RE: Router - by mwhitney - 09-26-2016, 01:36 PM
RE: Router - by InsiteFX - 09-23-2016, 02:37 PM
RE: Router - by InsiteFX - 09-27-2016, 04:08 AM



Theme © iAndrew 2016 - Forum software by © MyBB