Welcome Guest, Not a member yet? Register   Sign In
Controller Suffix
#1

Can someone help me, please;

I want to set every controller name  with '_controller' at end file name and controller class name

example:

PHP Code:
/**
* Filename: application/Welcome.php
*/

Class Wecome extends CI_Controller {} 

replace:

PHP Code:
/**
* Filename: application/Welcome_controller.php
*/

Class Welcome_controller extends CI_Controller {} 

but in url still like this:
http://localhost:8000/welcome

without _controller
Reply


Messages In This Thread
Controller Suffix - by ufhy - 08-05-2016, 08:56 AM
RE: Controller Suffix - by Avenirer - 08-07-2016, 10:31 PM
RE: Controller Suffix - by PaulD - 08-08-2016, 09:09 AM
RE: Controller Suffix - by ivantcholakov - 08-08-2016, 10:41 AM
RE: Controller Suffix - by Muzikant - 08-08-2016, 11:59 AM
RE: Controller Suffix - by PaulD - 08-08-2016, 01:56 PM
RE: Controller Suffix - by albertleao - 08-12-2016, 05:29 PM
RE: Controller Suffix - by marksman - 08-08-2016, 06:13 PM
RE: Controller Suffix - by PaulD - 08-12-2016, 05:57 PM
RE: Controller Suffix - by albertleao - 08-14-2016, 10:21 PM
RE: Controller Suffix - by PaulD - 08-15-2016, 03:00 AM
RE: Controller Suffix - by albertleao - 08-15-2016, 09:52 AM
RE: Controller Suffix - by spjonez - 08-15-2016, 07:41 AM
RE: Controller Suffix - by Ivo Miranda - 08-15-2016, 12:14 PM
RE: Controller Suffix - by albertleao - 08-15-2016, 02:12 PM



Theme © iAndrew 2016 - Forum software by © MyBB