Newer
Older
Dries Buytaert
committed
<?php
/**
* @file
* Enables modules and site configuration for a standard site installation.
*/
Dries Buytaert
committed
Gábor Hojtsy
committed
/**
* Implements hook_form_FORM_ID_alter() for install_configure_form().
Gábor Hojtsy
committed
*
* Allows the profile to alter the site configuration form.
Gábor Hojtsy
committed
*/
Dries Buytaert
committed
function standard_form_install_configure_form_alter(&$form, $form_state) {
// Pre-populate the site name with the server name.
Angie Byron
committed
$form['site_information']['site_name']['#default_value'] = $_SERVER['SERVER_NAME'];