I'm creating an installation profile for my current company internal project.
During the installation process, one of the custom modules crashes during
init(), since it tries to use one global variable defined on
settings.php (that's current default behavior of the module)
system_form_install_settings_form_alter() I changed the settings form, by adding one input textfield for user's input, and on submit the value is appended to
settings.php is rewrited before profile installation starts.
There is any way to prevent cleanup of
settings.php by the installation process?