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

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -