summaryrefslogtreecommitdiff
path: root/install.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-10-31 16:11:53 +0000
committerDries Buytaert <dries@buytaert.net>2007-10-31 16:11:53 +0000
commita2fa9ff2f74a3491556d8aae64f25dc042679759 (patch)
tree1b37cbe554139d20664c7bcc168e03143dd810b4 /install.php
parenta547bdbce1646bea78cee13d82ba29173c4d868b (diff)
downloadbrdo-a2fa9ff2f74a3491556d8aae64f25dc042679759.tar.gz
brdo-a2fa9ff2f74a3491556d8aae64f25dc042679759.tar.bz2
- Patch #172396 by webchick: better prefix description on the installer screens.
Diffstat (limited to 'install.php')
-rw-r--r--install.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/install.php b/install.php
index 1cc77bb47..b390b20da 100644
--- a/install.php
+++ b/install.php
@@ -331,13 +331,14 @@ function install_settings_form(&$form_state, $profile, $install_locale, $setting
);
// 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(