php - Codeigniter ignoring 'default_controller' route -


i've got codeigniter 3 site routes work except home page route, so:

<?php $route['default_controller'] = "front/homepage"; ?> 

if create new route below can access "/home" nothing works index. error in log 404 page not found: /index, in config have index set blank.

<?php $route['home'] = "front/homepage"; ?> 

any ideas?

thanks

this no-longer supported in codeigniter since v2 due being bug in routing logic.

http://www.codeigniter.com/userguide3/installation/upgrade_300.html#directories-and-default-controller-404-override


Comments

Popular posts from this blog

java - Static nested class instance -

c# - Bluetooth LE CanUpdate Characteristic property -

JavaScript - Replace variable from string in all occurrences -