? drupal-table-prefix-example-172396-1.patch
? drupal-table-prefix-example-172396-3.patch
? sites
Index: install.php
===================================================================
RCS file: /cvs/drupal/drupal/install.php,v
retrieving revision 1.73
diff -u -p -r1.73 install.php
--- install.php	30 Aug 2007 19:31:28 -0000	1.73
+++ install.php	2 Sep 2007 01:43:01 -0000
@@ -321,13 +321,14 @@ function install_settings_form(&$form_st
     );
 
     // Table prefix
+    $prefix = ($profile == 'default') ? 'drupal_' : $profile .'_';
     $form['advanced_options']['db_prefix'] = array(
       '#type' => 'textfield',
       '#title' => st('Table prefix'),
       '#default_value' => $db_prefix,
       '#size' => 45,
       '#maxlength' => 45,
-      '#description' => st('If more than one @drupal website will be sharing this database, enter a table prefix for your @drupal site here.', array('@drupal' => drupal_install_profile_name())),
+      '#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' => $prefix)),
     );
 
     $form['save'] = array(
