I'm working on an install profile which brings in various modules and I was curious about the proper (or popular) convention for setting global variables Right now I have two different ways of doing this:
In my settings.php file I set some variables directly in the $conf array:
$conf['var'] = 'setting';
In the install function of my profile I set some variables using variable_set:
I recognize that the first one will permanently retain the setting until the php file is altered, while the other can be changed at any time.
Is there any popular opinion/convention on the method of setting these variables(in the context of using an install profile)?