XenForo Config Object

xf_phantom

Well-known member
Is there a way to extend the config object on event init_dependencies ???
The problem is, that xenforo calls "setReadOnly" i haven't found any way to remove this without a fileedit :D http://framework.zend.com/manual/1.12/en/zend.config.theory_of_operation.html


ATM i've just added some own params to the config.php file, which i'd like to move to a own config file (which is stored as xml file)

I could probably get the old config as array, add my own values from my new config.xml file and then overwrite the config value in the XenForo Registry, but not sure if it's the best way.
Anybody have a better idea?
 
Top Bottom