Welcome Guest, Not a member yet? Register   Sign In
How to extend MX_config in HMVC
#1

[eluser]Unknown[/eluser]
Currently I'm trying to figure out what is the best way to extend MX_Config utilizing the HMVC
I have a few functions that I would like to use to extend CodeIgniter core Config. When I try to extend it the normal CodeIgniter way I get the following error:

Fatal error: Call to undefined method MX_Config:Confusedecure_site_url()

but when I place the functions in the MX->Config file everything works normally.

How can I extend MX_config to make use of my functions so i won't have to tamper with the MX->config file.

Could I have extended CodeIgniter wrong?




Theme © iAndrew 2016 - Forum software by © MyBB