[drupal-devel] [feature] settings.php: better instructions for $db_url and $db_prefix

Dries drupal-devel at drupal.org
Fri Apr 8 14:16:15 UTC 2005


Issue status update for http://drupal.org/node/19474

 Project:      Drupal
 Version:      cvs
 Component:    base system
 Category:     feature requests
 Priority:     normal
 Assigned to:  Anonymous
 Reported by:  danielc
 Updated by:   Dries
 Status:       patch

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


Dries



Previous comments:
------------------------------------------------------------------------

March 26, 2005 - 03:28 : danielc

Attachment: http://drupal.org/files/issues/settings.diff (2.49 KB)

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.


------------------------------------------------------------------------

March 26, 2005 - 05:31 : Anonymous

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."



------------------------------------------------------------------------

March 26, 2005 - 05:32 : Morbus Iff

#1 tis mine.


------------------------------------------------------------------------

March 26, 2005 - 18:43 : Chris Johnson

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


------------------------------------------------------------------------

March 29, 2005 - 00:08 : danielc

Attachment: http://drupal.org/files/issues/settings2.diff (2.51 KB)

Here's the revised patch...


------------------------------------------------------------------------

April 3, 2005 - 14:53 : Dries

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_'?


------------------------------------------------------------------------

April 3, 2005 - 20:26 : danielc

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_"?





More information about the drupal-devel mailing list