Configuring dev-site specific settings is easy using the
$conf array in
Sometimes I need to also disable (securepages) or enable (devel) certain modules on a dev site, but I don't know of an analogous method for doing this via
One hack which seems tempting is to define, say,
menu_init() in settings.php (*gasp), and make that function check that the required modules are enabled using module_exists().
[* Yes, all manner of things might asplode if menu.module defined that function. OMG,ETC.]
So I'm wondering if people have done similar things to make sure their dev site is correctly configured, and if so, what. Is this the Poor Dev's Pantheon?