[drupal-devel] [bug] conf_init should strip out port numbers in bootstrap.inc

chx drupal-devel at drupal.org
Fri Apr 8 07:08:55 UTC 2005


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

 Project:      Drupal
 Version:      cvs
 Component:    base system
 Category:     bug reports
 Priority:     normal
-Assigned to:  Anonymous
+Assigned to:  chx
 Reported by:  bwooster47
 Updated by:   chx
-Status:       active
+Status:       patch
 Attachment:   http://drupal.org/files/issues/conf_init_ports.patch (768 bytes)

Here you are.


chx



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

April 4, 2005 - 00:07 : bwooster47

The latest Drupal from CVS (4.6.0) offers multisite configuration files,
but currently the conf_init function in includes/bootstrap.inc will also
include the :portnum URL specification in the directory name, which does
not seem right (and the colon character may cause problems on
Mac/Windows).
Snippet from bootstrap.inc:
 * Example for a fictitious site installed at
 * http://www.drupal.org/mysite/test/ the 'settings.php' is
 * searched in the following directories:
.....
If the site is: http://www.drupal.org:8080/mysite/test/
the same list of directories should be searched as listed in the
example in the file, and the :8080 should not be added to the directory
name (I think...)
I don't know enough PHP to submit a patch, but this is probably easy
for those who know this stuff :-)





More information about the drupal-devel mailing list