? profiles/simpletest ? sites/default/modules ? sites/default/settings.php Index: install.php =================================================================== RCS file: /cvs/drupal/drupal/install.php,v retrieving revision 1.146 diff -u -p -r1.146 install.php --- install.php 24 Nov 2008 10:41:39 -0000 1.146 +++ install.php 13 Dec 2008 04:24:05 -0000 @@ -285,8 +285,8 @@ function install_settings_form(&$form_st $form['advanced_options'] = array( '#type' => 'fieldset', '#title' => st('Advanced options'), - '#collapsible' => TRUE, - '#collapsed' => TRUE, + '#collapsible' => FALSE, + '#collapsed' => FALSE, '#description' => st("These options are only necessary for some sites. If you're not sure what you should enter here, leave the default settings or check with your hosting provider.") ); @@ -312,14 +312,14 @@ function install_settings_form(&$form_st ); // Table prefix - $db_prefix = ($profile == 'default') ? 'drupal_' : $profile . '_'; + $db_prefix = ($profile == 'default') ? 'drp_' : substr($profile, 0, 3) . '_'; $form['advanced_options']['db_prefix'] = array( '#type' => 'textfield', '#title' => st('Table prefix'), - '#default_value' => '', + '#default_value' => $db_prefix, '#size' => 45, '#maxlength' => 45, - '#description' => st('If more than one application will be sharing this database, enter a table prefix such as %prefix for your @drupal site here.', array('@drupal' => drupal_install_profile_name(), '%prefix' => $db_prefix)), + '#description' => st("If more than one application will be sharing this database, enter a table prefix such as %prefix for your @drupal site here. For maximum cross database compatibility, it is recommended to use table prefix during installation. Note that every RDBMS has its own limit about the maximum length of constraint names, being conservative table prefix shouldn't be longer than 4cc.", array('@drupal' => drupal_install_profile_name(), '%prefix' => $db_prefix)), ); $form['save'] = array(