made favicon.ico more flexible (use from data/media only if it exists, otherwise from tpl)

This commit is contained in:
Anika Henke 2010-11-07 13:15:33 +00:00
parent 8fdcbb446b
commit a21fd4b9fa
3 changed files with 15 additions and 1 deletions

View file

@ -18,7 +18,7 @@ $showTools = !tpl_getConf('hideTools') || ( tpl_getConf('hideTools') && $_SERVER
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php tpl_pagetitle() ?> [<?php echo strip_tags($conf['title']) ?>]</title>
<?php tpl_metaheaders() ?>
<link rel="shortcut icon" href="<?php echo ml('favicon.ico') ?>" />
<link rel="shortcut icon" href="<?php echo _tpl_getFavicon() ?>" />
<?php @include(dirname(__FILE__).'/meta.html') /* include hook */ ?>
</head>