22 Jun
2011
22 Jun
'11
2:37 p.m.
Seems that by default references to CSS files in D7 are absolute, i.e. they include the domain name. Is there a way to make them all relative?
The only solution I have found thus far is to hack page.tpl.php and use str_replace() to remove the domain name from $scripts and $styles. There must be a better way however... Fred