Welcome Guest, Not a member yet? Register   Sign In
where should I position my extended controllers?
#5

[eluser]CroNiX[/eluser]
You misunderstand. Only MY_Controller (which extends CI_Controller) goes in /application/core.

The rest of your controllers just go in /application/controllers like normal, but they extend MY_Controller instead of the normal CI_Controller. You can't direcly access anything in /application or /system from the URL. Those are protected. You just use the regular CI urls.

Like
Code:
redirect('controller/method');
echo anchor('controller/method', 'My Anchor');
//etc.


Messages In This Thread
where should I position my extended controllers? - by El Forum - 05-04-2012, 08:15 AM
where should I position my extended controllers? - by El Forum - 05-04-2012, 08:40 AM
where should I position my extended controllers? - by El Forum - 05-04-2012, 09:56 AM
where should I position my extended controllers? - by El Forum - 05-11-2012, 01:06 PM
where should I position my extended controllers? - by El Forum - 05-11-2012, 01:15 PM
where should I position my extended controllers? - by El Forum - 05-11-2012, 01:34 PM



Theme © iAndrew 2016 - Forum software by © MyBB