Improves instructions in /drupal/sites/default/settings.php:
* How to escape URL characters in $db_url.
* How to use the array format of $db_prefix.

CommentFileSizeAuthor
#4 settings2.diff2.51 KBdanielc
settings.diff2.49 KBdanielc
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Anonymous’s picture

Looks real good. My suggestions:

  • "You can set prefixes" into "You can optionally set prefixes"
  • "If a prefix is specified, its value will be prepended with this string." into "If a prefix is specified, the table name will be prepended with its value."
Morbus Iff’s picture

#1 tis mine.

Chris Johnson’s picture

danielc: please re-roll your patch with the changes suggested by Morbus Iff. Looks good. Let's make it even better.

danielc’s picture

FileSize
2.51 KB

Here's the revised patch...

Dries’s picture

Can we choose more meaningful prefix examples than dl_ and d_share? What does dl_ stand for? Otherwise, this patch looks good. Maybe using 'master_' and 'shared_'?

danielc’s picture

I used "d1" as short for "drupal site number 1." It seems "master" and "shared" are also ambiguous because they don't indicate anything to do with Drupal and if one is making many sites, "master" doesn't indicate which site it's for. So, how about "drupal_site_1_" and "drupal_shared_"?

Dries’s picture

Committed to HEAD and DRUPAL-4-6. Slightly modified the prefix examples. Thanks Daniel.

Dries’s picture

Anonymous’s picture