Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#4 | settings2.diff | 2.51 KB | danielc |
settings.diff | 2.49 KB | danielc | |
Comments
Comment #1
(not verified) CreditAttribution: commentedLooks real good. My suggestions:
Comment #2
Morbus Iff#1 tis mine.
Comment #3
Chris Johnson CreditAttribution: Chris Johnson commenteddanielc: please re-roll your patch with the changes suggested by Morbus Iff. Looks good. Let's make it even better.
Comment #4
danielc CreditAttribution: danielc commentedHere's the revised patch...
Comment #5
Dries CreditAttribution: Dries commentedCan 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_'?
Comment #6
danielc CreditAttribution: danielc commentedI 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_"?
Comment #7
Dries CreditAttribution: Dries commentedCommitted to HEAD and DRUPAL-4-6. Slightly modified the prefix examples. Thanks Daniel.
Comment #8
Dries CreditAttribution: Dries commentedComment #9
(not verified) CreditAttribution: commented