Hi
I don't think this works when drupal is installed in a sub-directory. I have 3 sites at drupal5 - two installed at top level and one in sub-directory. This module works great on the 2 top level installations (thanks!) but on the sub-directory it produces URLs that are missing the sub-directory.

Should be www.mysite.com/drupal5/path and it produces www.mysite.com/path

Thanks
debs

Comments

mradcliffe’s picture

Assigned: Unassigned » mradcliffe

Hmm, I'm pulling $base_url as the base directory of a drupal installation defined in sites/default/settings.php. It looks like this is different in drupal 5.x than it was in 4.x. I'll take a look.

mradcliffe’s picture

Status: Active » Fixed

I patched both the 5.x and 4.7 dev versions, and they should be available in the next snapshot release.

I shouldn't need the $baseurl variable at all.

Please tell me how things fair.

debsjenkins’s picture

Title: doesn't work when drupal isntalled in sub-directory » that fixed it...

great, thanks - it also fixed another bug we found which was that external URLs all had the base URL attached too - thanks for the quick fix!
Debs

Anonymous’s picture

Status: Fixed » Closed (fixed)