Committer: afedorov
LJSUP-8474: Userhead as FaviconU trunk/cgi-bin/LJ/Hooks/S2Styles.pm
Modified: trunk/cgi-bin/LJ/Hooks/S2Styles.pm =================================================================== --- trunk/cgi-bin/LJ/Hooks/S2Styles.pm 2011-05-04 07:33:34 UTC (rev 10468) +++ trunk/cgi-bin/LJ/Hooks/S2Styles.pm 2011-05-04 07:33:36 UTC (rev 10469) @@ -6,6 +6,7 @@ LJ::register_hook('s2_head_content_extra', sub { my ($str_ref, $u, $r) = @_; $$str_ref .= expresslane_html_comment($u); + $$str_ref .= qq{<link rel="shortcut icon" type="image/x-icon" href="$LJ::IMGPREFIX/userinfo.ico">\n}; my $journal = LJ::get_active_journal(); if ($journal && $journal->is_person) { my ($userhead) = $journal->userhead;