Duplicate domain on asset load

Hi,

I had to change the Array syntax to support PHP 5.3 and that is OK. However, my assets don’t load because they are being requested from a wrong URL. The request gets sent to:
"http://www.domain.com/domain.com/wp-content…"
the rest of the path is OK, but the domain gets duplicated. Any ideas why and how to fix?

This goes for /uploads, /plugins/… everything

Thanks