As here, I'm looking to set some variables for a module. Creating a DB table seems a bit overkill (or maybe it's really not). I've noticed that the Simple Commerce Module does two things: creates DB tables and adds to the
config.php file. With the second method, it's using
I cannot find any documentation on
_update_config. It seems straight-forward enough, but I'm wondering if there's a reason I shouldn't use it.
In short, I'm looking to package a module for distribution, and I don't want to make it more complicated than it needs to be (e.g., I don't want to have to install an extension and a module). Is adding variable/settings to
config.php a good idea?