Package: drupal
Version: 4.5.3-6
drupal wasn't finding the site configuration file for anything other
than the default, in a fresh drupal install. I had a poke around and it
seemed that the search order was rather odd:
www.example.com.path.to.drupal.php
example.com.path.to.drupal.php
com.path.to.drupal.php
etc.
I changed line 29 of /usr/share/drupal/includes/bootstrap.inc to:
$file = substr($file, 0, strrpos($file, '.'));
This gives what I think is a more sensible search order. I believe this
has been fixed upstream, but I'm not sure in which version; it would
be useful to have it in the Debian package... The new search order is:
www.example.com.path.to.drupal.php
www.example.com.path.to.php
www.example.com.path.php
www.example.com.php
www.example.php
thanks,
Richard
--
Richard Bowman 45D Churchill College Cambridge, CB3 0DS
m:07751627671 t:01419427841(non-term) www.rbowman.co.uk
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]