I have this code:
<?php
header('Content-Type: text/css; charset=utf-8');
?>
a.logo{background:url(//webzina.net/img/logo.png) no-repeat 100% 0}
Locally (PHP Version 5.3.5), I get:
a.logo{background:url(//webzina.net/img/logo.png) no-repeat 100% 0}
But remotely (PHP Version 5.3.21), I get:
a.logo{background:url(http://webzina.net/img/logo.png) no-repeat 100% 0}
If I comment the header line, remotely I get the same as locally.
The worst is, remotely I am using https, so the "http:" is causing troubles.
Can someone tell me which apache/php setting is messing with the protocol-relative URL or why this is happening?