Welcome Guest, Not a member yet? Register   Sign In
Do not load MY_Controller, although it exists
#1

[eluser]Ki[/eluser]
Hi,
It seems to me that MY_Controller is loaded automatically, regardless of whether I extend it or extend the controller:
Code:
class Help extends MY_Controller{
end
Code:
class Help extends Controller{

Both load MY_Controller. Is there a way to bypass it, because there are quite a few db queries in MY_Controller that may not be required for sections of the website, such as help etc, so I want to avoid unnecessary load


Messages In This Thread
Do not load MY_Controller, although it exists - by El Forum - 03-31-2010, 05:43 AM
Do not load MY_Controller, although it exists - by El Forum - 03-31-2010, 06:46 AM
Do not load MY_Controller, although it exists - by El Forum - 03-31-2010, 06:49 AM
Do not load MY_Controller, although it exists - by El Forum - 03-31-2010, 07:45 AM
Do not load MY_Controller, although it exists - by El Forum - 03-31-2010, 08:01 AM
Do not load MY_Controller, although it exists - by El Forum - 03-31-2010, 08:15 AM
Do not load MY_Controller, although it exists - by El Forum - 03-31-2010, 08:17 AM
Do not load MY_Controller, although it exists - by El Forum - 03-31-2010, 09:01 AM
Do not load MY_Controller, although it exists - by El Forum - 03-31-2010, 09:10 AM
Do not load MY_Controller, although it exists - by El Forum - 03-31-2010, 09:15 AM



Theme © iAndrew 2016 - Forum software by © MyBB