Welcome Guest, Not a member yet? Register   Sign In
View located in different default folder
#10

(This post was last modified: 01-12-2018, 11:25 AM by jreklund.)

Totally forgot you will need to access your Segway class this way.
http://localhost/sma/segway/show_grid
http://localhost/sma/index.php/segway/show_grid

Codeigniter only loads the index() function on default.
You can overwrite the default function by placing this in your route.
PHP Code:
$route['segway'] = 'segway/show_grid'

I thought you got a "real" 404 and not Codeigniters 404 messages. But had a look at my dev machine at home now.
Reply


Messages In This Thread
RE: View located in different default folder - by jreklund - 01-12-2018, 11:24 AM



Theme © iAndrew 2016 - Forum software by © MyBB