Greetings. I may not seem to understand this correctly, but I want to ask if configs are only available in migrations or they can be updated in controller. Let me give you an example how I want to use it.
I have a single cooldown constant right now, I want to make it editable from the acp, but making a table just for that does not seem quite right to me, so I decided to read about config, so I can make it a variable value. So, I added it to a config with
Code: Select all
array('config.add', array('ext_cooldown', 30));
but once It passes to the controller, on form submit, I don't know how to update that data. Maybe create an event after submitting and triggering it? I want to hear your opinion on this.