Bug in getAlbumFolder (in functions_basic.php)

If "in_webpath" is used and the album folder path has the same name as
the domain, an incorrect result is returned. For example:

Domain is "mydomain.com"
Album folder path is "/mydomain/albums"
Full web path to album folder is "http://mydomain.com/mydomain/albums"
Server path to album folder should be "/serverpath/mydomain/albums"

getAlbumFolder() returns "/serverpath/.com/mydomain/albums"

This bug is also present in 1.4.5.9.