
06-23-2011, 12:36 AM
|
|
|
Join Date: Sep 2003
Posts: 934
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by BirdOPrey5
This should work for favicons but I haven't tested...
Code:
<vb:if condition="$_SERVER['HTTP_HOST'] == 'www.domain1.com'">
<link rel="icon" type="image/png" href="/somewhere/myicon1.png" />
</vb:if>
<vb:if condition="$_SERVER['HTTP_HOST'] == 'www.domain2.com'">
<link rel="icon" type="image/png" href="/somewhere/myicon2.png" />
</vb:if>
<vb:if condition="$_SERVER['HTTP_HOST'] == 'www.domain3.com'">
<link rel="icon" type="image/png" href="/somewhere/myicon3.png" />
</vb:if>
...
and so on... You can do if-else statements but there is no reason to in the setup you described.
|
I tested it, works.
|