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

matlab - error with cyclic autocorrelation function -

django - (fields.E300) Field defines a relation with model 'AbstractEmailUser' which is either not installed, or is abstract -

c# - What is a good .Net RefEdit control to use with ExcelDna? -