What's the correct way to work with initializing a config variable. I've followed some documentation for creating the admin/settings, in which I create a default. If I save that forum, the default is written to the database. But how do I get that value available to the system to begin with.
I've tried to look around for code examples, but everyone seems to be checking get_config() for an empty value and then assigning something. Seems silly to have the default be set in two places.
Am I just misunderstanding the code? Are these variables to be set in config.php? Wouldn't that override the database setting?