if (file_exists(IMAGES."favicon.ico")) { echo "<link rel='shortcut icon' href='".IMAGES."favicon.ico' type='image/x-icon' />\n"; }
if (file_exists(IMAGES."icon.ico")) { echo "<link rel='shortcut icon' href='icon.ico' type='image/x-icon' />\n"; }
Quote
M0rdak wrote:
[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]if (file_exists(IMAGES."icon.ico")) { echo "<link rel='shortcut icon' href='".IMAGES."icon.ico' type='image/x-icon' />\n"; }[/syntaxhighlighter]
Try that, and clear you cache.
href='/images/favicon.ico'
if (file_exists(BASEDIR."images/favicon.ico")) { echo "<link rel='shortcut icon' href='".BASEDIR."images/favicon.ico' type='image/x-icon' />\n"; }
Quote
ChildHold wrote:
how to clear cache???.i cant change i favicon...
Category Forum
System Administration - 8Labels
None yet
Statistics
11 participants
Notifications
You are not receiving notifications from this thread.
Related Questions