[drupal-devel] [bug] settings for multiple sites with port
Issue status update for http://drupal.org/node/28719 Post a follow up: http://drupal.org/project/comments/add/28719 Project: Drupal Version: 4.6.0 Component: base system Category: bug reports Priority: normal Assigned to: pbcomm Reported by: pbcomm Updated by: pbcomm Status: patch (ready to be committed) I have 2 sites running on port 85 (I can not have them on port 80 because of the provider) and can not create settings directory for any of them, ":" is not a valid char for directory name (Windows Host). Example: http://name.domain.com:81/site/ My suggestion is to change the following line: $server = explode('.', rtrim($_SERVER['HTTP_HOST'], '.')); to: $tmp = parse_url(rtrim($_SERVER['HTTP_HOST'], '.')); $server = explode('.', $tmp['host']); pbcomm
participants (1)
-
pbcomm