summaryrefslogtreecommitdiffstats
path: root/includes
diff options
context:
space:
mode:
authorBigCoke233 <hi@guhub.cn>2020-04-14 16:00:01 +0800
committerBigCoke233 <hi@guhub.cn>2020-04-14 16:00:01 +0800
commite045d79712c6e5f1a307129de219ab9c104162ce (patch)
treef703e33b4cad61272d93cb5fd45149b1734a87c9 /includes
parent0f88c27635f641d8b4afbb3cc4803cadd4eea3b4 (diff)
:dragon_face: Add: 支持在设置中自定义 Favicon
Diffstat (limited to 'includes')
-rw-r--r--includes/head.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/head.php b/includes/head.php
index 404f6c2..eb6fcfe 100644
--- a/includes/head.php
+++ b/includes/head.php
@@ -39,7 +39,7 @@
else:
$this->options->bannerUrl();
endif;}?>" />
- <link rel="icon" id="icon" type="image/png" href="<?php Utils::indexTheme('favicon.ico'); ?>" />
+ <link rel="icon" id="icon" type="image/png" href="<?php if($this->options->favicon):$this->options->favicon();else:echo Utils::indexTheme('favicon.ico');endif; ?>" />
<?php $this->header('description=&commentReply='); ?>
<?php $this->options->headerEcho(); ?>
<!-- css -->