Defining a default controller for a folder in Codeigniter -


hey everyone, have codeigniter controllers set in folder called employees. issue don't seem know best way specify default controller if folder typed in url. instance, able type in:

www.mysite.com/employees

and have default personnel controller, instead of having type in:

www.mysite.com/employees/personnel

any ideas? thanks.

how have specified in routes.php? have tried with:

$route['default_controller'] = "personnel"; 

Comments

Popular posts from this blog

Cursor error with postgresql, pgpool and php -

delphi - ESC/P programming! -

c++ - error: use of deleted function -