Commit 10bccd75 authored by Gábor Hojtsy's avatar Gábor Hojtsy

#199400 by ChrisKennedy: use the SERVER_NAME as default site name, instead of...

#199400 by ChrisKennedy: use the SERVER_NAME as default site name, instead of the misleading 'Drupal' name
parent 223744e8
......@@ -146,6 +146,6 @@ function default_profile_tasks(&$task, $url) {
function default_form_alter(&$form, $form_state, $form_id) {
if ($form_id == 'install_configure') {
// Set default for site name field.
$form['site_information']['site_name']['#default_value'] = 'Drupal';
$form['site_information']['site_name']['#default_value'] = $_SERVER['SERVER_NAME'];
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment